|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.ide.VAJBuildInfo
This class wraps the Ant project information needed to start Ant from Visual Age. It serves the following purposes: - acts as model for AntMakeFrame - converts itself to/from String (to store the information as ToolData in the VA repository) - wraps Project functions for the GUI (get target list, execute target)
Field Summary | |
protected java.beans.PropertyChangeSupport |
propertyChange
|
Constructor Summary | |
VAJBuildInfo()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
java.lang.String |
asDataString()
Returns the BuildInfo information as String. |
void |
executeProject(BuildListener listener)
Executes the target set by setTarget(). |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
java.lang.String |
getBuildFileName()
Returns the build file name. |
int |
getOutputMessageLevel()
Returns the log level |
java.util.Vector |
getProjectTargets()
return a list of all targets in the current buildfile |
protected java.beans.PropertyChangeSupport |
getPropertyChange()
Accessor for the propertyChange field. |
java.lang.String |
getTarget()
Insert the method's description here. |
java.lang.String |
getVAJProjectName()
returns the VA project name |
boolean |
isProjectInitialized()
Returns true, if the Ant project is initialized (i.e. |
static VAJBuildInfo |
parse(java.lang.String data)
Creates a BuildInfo object from a String The String must be in the format outputMessageLevel'|'buildFileName'|'defaultTarget'|'(project target'|')* |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
setBuildFileName(java.lang.String newBuildFileName)
Sets the build file name |
void |
setOutputMessageLevel(int newOutputMessageLevel)
Sets the log level (value must be one of the constants in Project) |
void |
setTarget(java.lang.String newTarget)
Sets the target to execute when executeBuild is called |
void |
setVAJProjectName(java.lang.String newVAJProjectName)
Sets the name of the Visual Age for Java project where this BuildInfo belongs to |
void |
updateTargetList()
reloads the build file and updates the target list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient java.beans.PropertyChangeSupport propertyChange
Constructor Detail |
public VAJBuildInfo()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public java.lang.String asDataString()
public void executeProject(BuildListener listener)
listener
- BuildListener for the output of the buildpublic void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
public java.lang.String getBuildFileName()
public int getOutputMessageLevel()
public java.util.Vector getProjectTargets()
protected java.beans.PropertyChangeSupport getPropertyChange()
public java.lang.String getTarget()
public java.lang.String getVAJProjectName()
public boolean isProjectInitialized()
public static VAJBuildInfo parse(java.lang.String data)
data
- java.lang.Stringpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void setBuildFileName(java.lang.String newBuildFileName)
buildFileName
- build file namepublic void setOutputMessageLevel(int newOutputMessageLevel)
outputMessageLevel
- log level.public void setTarget(java.lang.String newTarget)
newTarget
- build targetpublic void setVAJProjectName(java.lang.String newVAJProjectName)
newProjectName
- VAJ projectpublic void updateTargetList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |