Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild
Class BuildStyleConfiguration

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.BuildStyleConfiguration
All Implemented Interfaces:
IBuildStyleConfiguration
Direct Known Subclasses:
CommandConfiguration, ProgramConfiguration

public abstract class BuildStyleConfiguration
extends Object
implements IBuildStyleConfiguration

This is the default implementation of a BuildStyleConfiguration. All implementors of IBuildStyleConfiguration must subclass this.

A build style configuration holds the information necessary to implement a build style on a particular project. If the configuration has no project it is considered to be a workspace default configuration and may be saved or loaded as a default for a workspace. New configurations for a particular project are created from these workspace default configuration. There is effectively one workspace default configuration for the workspace for a given build style.


Field Summary
static String Copyright
           
 
Constructor Summary
BuildStyleConfiguration()
          Standard constructor for BuildStyleConfiguration.
 
Method Summary
abstract  void configure(Shell shell, boolean forProject)
          Presents a dialog to modify this configuration.
 IBuildStyle getStyle()
          Returns this configuration's style.
abstract  boolean isComplete()
          Returns true if this configuration is complete.
abstract  void loadDefaults()
          Loads the state of this configuration from its defaults.
abstract  void loadFrom(RBProject project)
          Loads the state of this configuration from a project.
abstract  void saveDefaults()
          Saves the state of this configuration as its default.
abstract  void saveTo(RBProject project)
          Saves the state of this configuration to a project.
 void setStyle(IBuildStyle style)
          Sets the style for this configuration.
 
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

BuildStyleConfiguration

public BuildStyleConfiguration()
Standard constructor for BuildStyleConfiguration.

Method Detail

setStyle

public final void setStyle(IBuildStyle style)
Sets the style for this configuration. This is done immediately after construction.

Specified by:
setStyle in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

getStyle

public final IBuildStyle getStyle()
Returns this configuration's style.

Specified by:
getStyle in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

isComplete

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

Specified by:
isComplete in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

configure

public abstract void configure(Shell shell,
                               boolean forProject)
Presents a dialog to modify this configuration.

Specified by:
configure in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

saveTo

public abstract void saveTo(RBProject project)
Saves the state of this configuration to a project. Must be implemented by subclasses.

Specified by:
saveTo in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

loadFrom

public abstract void loadFrom(RBProject project)
Loads the state of this configuration from a project. Must be implemented by subclasses.

Specified by:
loadFrom in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

saveDefaults

public abstract void saveDefaults()
Saves the state of this configuration as its default. Must be implemented by subclasses.

Specified by:
saveDefaults in interface IBuildStyleConfiguration
See Also:
IBuildStyleConfiguration

loadDefaults

public abstract void loadDefaults()
Loads the state of this configuration from its defaults. Must be implemented by subclasses.

Specified by:
loadDefaults in interface IBuildStyleConfiguration
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.