Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild.styles
Class CommandConfiguration

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.BuildStyleConfiguration
      extended by com.ibm.etools.iseries.remotebuild.styles.CommandConfiguration
All Implemented Interfaces:
IBuildStyleConfiguration

public class CommandConfiguration
extends BuildStyleConfiguration

Manages the saving, restoring, and accessing the build command associated with the CommandBuildStyle.


Field Summary
static String Copyright
           
 
Constructor Summary
CommandConfiguration()
          Constructor for CommandBuildStyleConfiguration.
 
Method Summary
 void configure(Shell shell, boolean forProject)
          Configures this build style.
 String getBuildCommand()
          Gets the build command for this build style from its project.
 boolean isAutoPush()
          Retrieves the autoPush value for this configuration.
 boolean isComplete()
          Returns true if this configuration is complete.
 void loadDefaults()
          Loads the default state of this build style.
 void loadFrom(RBProject project)
          Loads the state of this style from a project.
 void saveDefaults()
          Saves the state of this style to its default area.
 void saveTo(RBProject project)
          Saves the state of this style to a project.
 void setAutoPush(boolean autoPush)
          Sets the autoPush value for the configuration.
 void setBuildCommand(String command)
          Sets the build command for this build style into the project.
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.BuildStyleConfiguration
getStyle, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

CommandConfiguration

public CommandConfiguration()
Constructor for CommandBuildStyleConfiguration.

Method Detail

isComplete

public boolean isComplete()
Returns true if this configuration is complete.

Specified by:
isComplete in interface IBuildStyleConfiguration
Specified by:
isComplete in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

saveTo

public void saveTo(RBProject project)
Saves the state of this style to a project.

Specified by:
saveTo in interface IBuildStyleConfiguration
Specified by:
saveTo in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

loadFrom

public void loadFrom(RBProject project)
Loads the state of this style from a project.

Specified by:
loadFrom in interface IBuildStyleConfiguration
Specified by:
loadFrom in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

saveDefaults

public void saveDefaults()
Saves the state of this style to its default area.

Specified by:
saveDefaults in interface IBuildStyleConfiguration
Specified by:
saveDefaults in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

loadDefaults

public void loadDefaults()
Loads the default state of this build style.

Specified by:
loadDefaults in interface IBuildStyleConfiguration
Specified by:
loadDefaults in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

setBuildCommand

public void setBuildCommand(String command)
Sets the build command for this build style into the project.


getBuildCommand

public String getBuildCommand()
Gets the build command for this build style from its project.


setAutoPush

public void setAutoPush(boolean autoPush)
Sets the autoPush value for the configuration.


isAutoPush

public boolean isAutoPush()
Retrieves the autoPush value for this configuration.


configure

public void configure(Shell shell,
                      boolean forProject)
Configures this build style. Presents a dialog to enter the build command for this project.

Specified by:
configure in interface IBuildStyleConfiguration
Specified by:
configure in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.