|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.BaseConfigurationItem
com.xebialabs.deployit.ci.Deployment
@ConfigurationItem(category="deployments",
description="A deployment of an application package or a deployable artifact to a middleware CI or an environment.")
public class Deployment
A deployment of a DeploymentPackage on an Environment.
| Field Summary |
|---|
| Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem |
|---|
label |
| Constructor Summary | |
|---|---|
Deployment()
|
|
Deployment(DeploymentPackage source,
Environment target)
|
|
Deployment(DeploymentPackage source,
Environment target,
java.lang.String virtualHost)
|
|
| Method Summary | ||
|---|---|---|
void |
addMapping(Mapping mapping)
Adds a mapping to this deployment. |
|
java.util.Set<Mapping> |
getMappings()
|
|
|
getMappingsForSource(java.lang.Class<M> mappingClass,
java.io.Serializable source)
Returns the mappings on this CI that are of a certain classes (or one of its subclasses) and have a certain source. |
|
|
getMappingsForTarget(java.lang.Class<M> mappingClass,
java.io.Serializable target)
Returns the mappings on this CI that are of a certain classes (or one of its subclasses) and have a certain target. |
|
|
getMappingsOfType(java.lang.Class<M> mappingClass)
Returns the mappings on this CI that are of a certain classes (or one of its subclasses). |
|
DeploymentPackage |
getSource()
|
|
Environment |
getTarget()
|
|
java.lang.String |
getVhostDefinition()
|
|
void |
setMappings(java.util.Set<Mapping> mappings)
Sets the mappings on this deployment. |
|
void |
setSource(DeploymentPackage source)
|
|
void |
setTarget(Environment target)
|
|
void |
setVhostDefinition(java.lang.String vhostDefinition)
|
|
| 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 |
|---|
public Deployment()
public Deployment(DeploymentPackage source,
Environment target)
public Deployment(DeploymentPackage source,
Environment target,
java.lang.String virtualHost)
| Method Detail |
|---|
public java.lang.String getVhostDefinition()
public void setVhostDefinition(java.lang.String vhostDefinition)
public DeploymentPackage getSource()
public void setSource(DeploymentPackage source)
public Environment getTarget()
public void setTarget(Environment target)
public java.util.Set<Mapping> getMappings()
public <M extends Mapping> java.util.List<M> getMappingsForSource(java.lang.Class<M> mappingClass,
java.io.Serializable source)
M - the type of the mappings sought aftermappingClass - the class of the mappings sought aftersource - the source of the mappings sought after
public <M extends Mapping> java.util.List<M> getMappingsForTarget(java.lang.Class<M> mappingClass,
java.io.Serializable target)
M - the type of the mappings sought aftermappingClass - the class of the mappings sought aftertarget - the target of the mappings sought after
public <M extends Mapping> java.util.List<M> getMappingsOfType(java.lang.Class<M> mappingClass)
M - the type of the mappings sought aftermappingClass - the class of the mappings sought after
public void setMappings(java.util.Set<Mapping> mappings)
mappings - the mappings to set.public void addMapping(Mapping mapping)
mapping - the mapping to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||