edu.utk.cs.icl.rest.util
Class PackageInfo

java.lang.Object
  extended byedu.utk.cs.icl.rest.util.PackageInfo

public class PackageInfo
extends Object

The java definition of restpackage.xsd

Since:
1.0
Version:
$Revision: 1.11 $ $Date: 2005/01/31 19:15:06 $
Author:
Eric Meek

Field Summary
static int ACTIONS
          Static integer representing package actions.
static String[] CMD_SECTION_NAMES
          Static representation of the command keys as strings
protected  PackageCommand[] compilation
          Compilation commands
static int COMPILATION
          Static integer representing compilation step.
protected  PackageCommand[] completion
          Completion commands, the only place that required=false commands is by default supported.
static int COMPLETION
          Static integer representing completion step.
protected  PackageCommand[] configuration
          Any configuration commands necessary
static int CONFIGURATION
          Static integer representing congifuration step.
protected  PackageHeader header
          The package header information as defined in the restpackage.xsd
protected  PackageCommand[] installation
          Installation commands
static int INSTALLATION
          Static integer representing installation step.
protected  PackageCommand[] preparation
          A list of preparatory commands for the package
static int PREPARATION
          Static integer representing preparation step.
protected  PackageCommand[] uninstallation
          Optional information about how to uninstall the package later
static int UNINSTALLATION
          Static integer representing uninstallation step.
protected  String version
          The GSAP package version.
 
Constructor Summary
PackageInfo()
          Creates a new instance of PackageInfo
 
Method Summary
 PackageCommand[] getCompilation()
          Getter for property compilation.
 PackageCommand[] getCompletion()
          Getter for property completion.
 PackageCommand[] getConfiguration()
          Getter for property configuration.
 PackageHeader getHeader()
          Getter for property header.
 PackageCommand[] getInstallation()
          Getter for property installation.
 PackageCommand[] getPreparation()
          Getter for property preparation.
 PackageCommand[] getUninstallation()
          Getter for property uninstallation.
 String getVersion()
          Getter for property version.
 void setCompilation(PackageCommand[] compilation)
          Setter for property compilation.
 void setCompletion(PackageCommand[] completion)
          Setter for property completion.
 void setConfiguration(PackageCommand[] configuration)
          Setter for property configuration.
 void setHeader(PackageHeader header)
          Setter for property header.
 void setInstallation(PackageCommand[] installation)
          Setter for property installation.
 void setPreparation(PackageCommand[] preparation)
          Setter for property preparation.
 void setUninstallation(PackageCommand[] uninstallation)
          Setter for property uninstallation.
 void setVersion(String version)
          Setter for property version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREPARATION

public static final int PREPARATION
Static integer representing preparation step.

See Also:
Constant Field Values

CONFIGURATION

public static final int CONFIGURATION
Static integer representing congifuration step.

See Also:
Constant Field Values

COMPILATION

public static final int COMPILATION
Static integer representing compilation step.

See Also:
Constant Field Values

INSTALLATION

public static final int INSTALLATION
Static integer representing installation step.

See Also:
Constant Field Values

COMPLETION

public static final int COMPLETION
Static integer representing completion step.

See Also:
Constant Field Values

ACTIONS

public static final int ACTIONS
Static integer representing package actions.

See Also:
Constant Field Values

UNINSTALLATION

public static final int UNINSTALLATION
Static integer representing uninstallation step.

See Also:
Constant Field Values

CMD_SECTION_NAMES

public static final String[] CMD_SECTION_NAMES
Static representation of the command keys as strings


header

protected PackageHeader header
The package header information as defined in the restpackage.xsd

Since:
1.0
See Also:
PackageHeader

version

protected String version
The GSAP package version. The version of the software is contained in the package header.

Since:
1.0

compilation

protected PackageCommand[] compilation
Compilation commands

Since:
1.0
See Also:
PackageCommand

completion

protected PackageCommand[] completion
Completion commands, the only place that required=false commands is by default supported.

Since:
1.0
See Also:
PackageCommand

configuration

protected PackageCommand[] configuration
Any configuration commands necessary

Since:
1.0
See Also:
PackageCommand

installation

protected PackageCommand[] installation
Installation commands

Since:
1.0
See Also:
PackageCommand

preparation

protected PackageCommand[] preparation
A list of preparatory commands for the package

Since:
1.0
See Also:
PackageCommand

uninstallation

protected PackageCommand[] uninstallation
Optional information about how to uninstall the package later

Since:
1.0
See Also:
PackageCommand
Constructor Detail

PackageInfo

public PackageInfo()
Creates a new instance of PackageInfo

Since:
1.0
Method Detail

setCompilation

public void setCompilation(PackageCommand[] compilation)
Setter for property compilation.

Parameters:
compilation - New value of property compilation.
Since:
1.0

getCompilation

public PackageCommand[] getCompilation()
Getter for property compilation.

Returns:
Value of property compilation.
Since:
1.0

setCompletion

public void setCompletion(PackageCommand[] completion)
Setter for property completion.

Parameters:
completion - New value of property completion.
Since:
1.0

getCompletion

public PackageCommand[] getCompletion()
Getter for property completion.

Returns:
Value of property completion.
Since:
1.0

setConfiguration

public void setConfiguration(PackageCommand[] configuration)
Setter for property configuration.

Parameters:
configuration - New value of property configuration.
Since:
1.0

getConfiguration

public PackageCommand[] getConfiguration()
Getter for property configuration.

Returns:
Value of property configuration.
Since:
1.0

setHeader

public void setHeader(PackageHeader header)
Setter for property header.

Parameters:
header - New value of property header.
Since:
1.0

getHeader

public PackageHeader getHeader()
Getter for property header.

Returns:
Value of property header.
Since:
1.0

setInstallation

public void setInstallation(PackageCommand[] installation)
Setter for property installation.

Parameters:
installation - New value of property installation.
Since:
1.0

getInstallation

public PackageCommand[] getInstallation()
Getter for property installation.

Returns:
Value of property installation.
Since:
1.0

setPreparation

public void setPreparation(PackageCommand[] preparation)
Setter for property preparation.

Parameters:
preparation - New value of property preparation.
Since:
1.0

getPreparation

public PackageCommand[] getPreparation()
Getter for property preparation.

Returns:
Value of property preparation.
Since:
1.0

setUninstallation

public void setUninstallation(PackageCommand[] uninstallation)
Setter for property uninstallation.

Parameters:
uninstallation - New value of property uninstallation.

getUninstallation

public PackageCommand[] getUninstallation()
Getter for property uninstallation.

Returns:
Value of property uninstallation.

setVersion

public void setVersion(String version)
Setter for property version.

Parameters:
version - New value of property version.
Since:
1.0

getVersion

public String getVersion()
Getter for property version.

Returns:
Value of property version.
Since:
1.0