com.xebialabs.deployit.ci
Class DeploymentPackage

java.lang.Object
  extended by com.xebialabs.deployit.BaseConfigurationItem
      extended by com.xebialabs.deployit.ci.DeploymentPackage
All Implemented Interfaces:
java.io.Serializable

@ConfigurationItem(expandable=true,
                   description="A package of a certion version of an application, i.e. a grouping of a number of deployable artifact CI\'s. Contains as its members all the application components that make it up. Is contained by the Application CI of which it supplies a version.")
public class DeploymentPackage
extends BaseConfigurationItem

Represents a collection of artifacts and resources that can be deployed onto middleware.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem
label
 
Constructor Summary
DeploymentPackage()
           
DeploymentPackage(DeployableArtifact... artifacts)
           
 
Method Summary
 void addDeployableArtifact(DeployableArtifact deployableArtifact)
           
 void addMiddlewareResource(java.io.Serializable middlewareResource)
           
 java.util.Collection<java.io.Serializable> getAllMembers()
           
 Application getApplication()
           
 java.util.Set<DeployableArtifact> getDeployableArtifacts()
           
<T extends java.io.Serializable>
java.util.Collection<T>
getMembersOfType(java.lang.Class<T> ciType)
           
 java.util.Set<java.io.Serializable> getMiddlewareResources()
           
 java.lang.String getVersion()
           
 void setApplication(Application application)
           
 void setDeployableArtifacts(java.util.Set<DeployableArtifact> deployableArtifacts)
           
 void setMiddlewareResources(java.util.Set<java.io.Serializable> middlewareResources)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class com.xebialabs.deployit.BaseConfigurationItem
equals, getLabel, hashCode, setLabel, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentPackage

public DeploymentPackage()

DeploymentPackage

public DeploymentPackage(DeployableArtifact... artifacts)
Method Detail

getAllMembers

public java.util.Collection<java.io.Serializable> getAllMembers()

getMembersOfType

public <T extends java.io.Serializable> java.util.Collection<T> getMembersOfType(java.lang.Class<T> ciType)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

getApplication

public Application getApplication()

setApplication

public void setApplication(Application application)

getDeployableArtifacts

public java.util.Set<DeployableArtifact> getDeployableArtifacts()

setDeployableArtifacts

public void setDeployableArtifacts(java.util.Set<DeployableArtifact> deployableArtifacts)

addDeployableArtifact

public void addDeployableArtifact(DeployableArtifact deployableArtifact)

getMiddlewareResources

public java.util.Set<java.io.Serializable> getMiddlewareResources()

setMiddlewareResources

public void setMiddlewareResources(java.util.Set<java.io.Serializable> middlewareResources)

addMiddlewareResource

public void addMiddlewareResource(java.io.Serializable middlewareResource)


Copyright © 2010. All Rights Reserved.