Rational Developer for Power Systems Software
V7.6

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

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

public class ProgramConfiguration
extends BuildStyleConfiguration


Field Summary
static String Copyright
           
 
Constructor Summary
ProgramConfiguration()
          Constructor for ProgramConfiguration.
 
Method Summary
 void configure(Shell shell, boolean forProject)
          Configures this build style.
 String getSourceFileName()
          Returns the sourceFile.
 String[] getSourceFileNames()
          Returns the source file name list.
 boolean isAutoGenerate()
          Returns the autoGenerate.
 boolean isAutoPush()
          Returns true if the configuration says to push changes automatically.
 boolean isComplete()
          Returns whether or not the build style is configured for this project.
 void loadDefaults()
          Loads the state of this configuration from its defaults.
 void loadFrom(RBProject project)
          Loads the state of this configuration from a project.
 void saveDefaults()
          Saves the state of this configuration as its default.
 void saveTo(RBProject project)
          Saves the state of this configuration to a project.
 void setAutoGenerate(boolean autoGenerate)
          Sets the autoGenerate.
 void setAutoPush(boolean autoPush)
          Configures the auto push value.
 void setSourceFileName(String sourceFileName)
          Sets the sourceFile.
 
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

ProgramConfiguration

public ProgramConfiguration()
Constructor for ProgramConfiguration.

Method Detail

isComplete

public boolean isComplete()
Returns whether or not the build style is configured for this project. This returns true if the build source file is not blank.

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

isAutoPush

public boolean isAutoPush()
Returns true if the configuration says to push changes automatically.


setAutoPush

public void setAutoPush(boolean autoPush)
Configures the auto push value.


isAutoGenerate

public boolean isAutoGenerate()
Returns the autoGenerate.

Returns:
boolean

setAutoGenerate

public void setAutoGenerate(boolean autoGenerate)
Sets the autoGenerate.

Parameters:
autoGenerate - The autoGenerate to set

getSourceFileName

public String getSourceFileName()
Returns the sourceFile.

Returns:
String

setSourceFileName

public void setSourceFileName(String sourceFileName)
Sets the sourceFile.

Parameters:
sourceFile - The sourceFile to set

getSourceFileNames

public String[] getSourceFileNames()
Returns the source file name list.

Returns:
String[]

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

saveTo

public void saveTo(RBProject project)
Description copied from class: BuildStyleConfiguration
Saves the state of this configuration to a project. Must be implemented by subclasses.

Specified by:
saveTo in interface IBuildStyleConfiguration
Specified by:
saveTo in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration.saveTo(RBProject)

loadFrom

public void loadFrom(RBProject project)
Description copied from class: BuildStyleConfiguration
Loads the state of this configuration from a project. Must be implemented by subclasses.

Specified by:
loadFrom in interface IBuildStyleConfiguration
Specified by:
loadFrom in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration.loadFrom(RBProject)

saveDefaults

public void saveDefaults()
Description copied from class: BuildStyleConfiguration
Saves the state of this configuration as its default. Must be implemented by subclasses.

Specified by:
saveDefaults in interface IBuildStyleConfiguration
Specified by:
saveDefaults in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration.saveDefaults()

loadDefaults

public void loadDefaults()
Description copied from class: BuildStyleConfiguration
Loads the state of this configuration from its defaults. Must be implemented by subclasses.

Specified by:
loadDefaults in interface IBuildStyleConfiguration
Specified by:
loadDefaults in class BuildStyleConfiguration
See Also:
IBuildStyleConfiguration.loadDefaults()

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.