|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.internal.ProtoProject
public final class ProtoProject
Represents the use-cases available to be carried out against the protoj delegate.
| Constructor Summary | |
|---|---|
ProtoProject()
Constructor that uses system properties protoj.rootDir and protoj.scriptName. |
|
ProtoProject(java.io.File rootDir,
java.lang.String scriptName)
Create with the specified project root directory and launch script. |
|
ProtoProject(ProtoCore core)
Create with the underlying bootstrap instance. |
|
ProtoProject(java.lang.String[] args)
See the StandardProject.StandardProject(String[], String, String)
constructor for a discussion of the arguments to main(). |
|
| Method Summary | |
|---|---|
StandardProject |
createAcmeProjectDelegate()
Copies the example acme project to the target directory and returns a representative project instance. |
StandardProject |
createAlienProjectDelegate()
Copies the example alien project to the target directory and returns a representative project instance. |
StandardProject |
createHelloWorldDelegate()
Copies the example helloworld project to the target directory and returns a representative project instance. |
void |
createNoDepArchive()
Creates the no dependencies archive in the archive directory. |
StandardProject |
createSampleProjectDelegate(java.lang.String projectName,
boolean includeAjc)
Ensures the no dependencies jar file is present and executes it so that the requested sample project gets created. |
void |
dispatchCommands()
Dispatches any commands held by this project. |
java.io.File |
extractSite()
Extracts the googlecode website files to the target directory. |
StandardProject |
getDelegate()
The main protoj domain object. |
java.lang.String |
getGroupId()
The group id to use when publish to the maven repository. |
java.lang.String |
getJarName()
The name of the protoj jar file that contains just a few third-party jar merges. |
java.io.File |
getNoDepFile()
|
java.lang.String |
getNoDepJarName()
The name of the protoj jar file that has been merged with all third party jar files. |
java.lang.String |
getProjectArchiveName()
The name of the generated tar file. |
java.lang.String |
getProjectName()
The name of the project that includes the version number. |
ReleaseCommand |
getReleaseCommand()
The command used to invoke release functionality. |
ReleaseFeature |
getReleaseFeature()
Delegate helper responsible for implementing the release procedure. |
SiteCommand |
getSiteCommand()
The command used to create documentation for the protoj googlecode website. |
java.lang.String |
getVersionNumber()
The project version number. |
static void |
main(java.lang.String[] args)
See ProtoProject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtoProject()
public ProtoProject(java.lang.String[] args)
StandardProject.StandardProject(String[], String, String)
constructor for a discussion of the arguments to main().
args -
public ProtoProject(java.io.File rootDir,
java.lang.String scriptName)
rootDir - scriptName - public ProtoProject(ProtoCore core)
core - | Method Detail |
|---|
public static void main(java.lang.String[] args)
ProtoProject.
args - public StandardProject createHelloWorldDelegate()
public StandardProject createAlienProjectDelegate()
public StandardProject createSampleProjectDelegate(java.lang.String projectName,
boolean includeAjc)
ProtoExecutableMain for a list of the available sample projects.
projectName - the name of the sample project to createincludeAjc - for aspectj sample projects specify true to include the
aspectj jars in the lib directory
public StandardProject createAcmeProjectDelegate()
public void dispatchCommands()
public ReleaseCommand getReleaseCommand()
public SiteCommand getSiteCommand()
public ReleaseFeature getReleaseFeature()
public StandardProject getDelegate()
public java.lang.String getProjectName()
public java.lang.String getNoDepJarName()
public java.lang.String getJarName()
public java.lang.String getProjectArchiveName()
public java.lang.String getGroupId()
public java.lang.String getVersionNumber()
public void createNoDepArchive()
public java.io.File getNoDepFile()
public java.io.File extractSite()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||