Class BaseDeployed<D extends Deployable,C extends Container>
- java.lang.Object
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<D,C>
-
- All Implemented Interfaces:
ConfigurationItem
,Deployed<D,C>
,EmbeddedDeployedContainer<D,C>
,java.io.Serializable
,java.lang.Comparable<BaseConfigurationItem>
- Direct Known Subclasses:
BaseDeployedArtifact
,BaseDeployedContainer
,BaseProvisioned
@Metadata(virtual=true, description="The supertype of all Deployeds.") public class BaseDeployed<D extends Deployable,C extends Container> extends BaseConfigurationItem implements Deployed<D,C>
ADeployable
deployed to aContainer
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
-
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
-
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.EmbeddedDeployedContainer
CONTAINER_FIELD, DEPLOYABLE_FIELD
-
-
Constructor Summary
Constructors Modifier Constructor Description BaseDeployed()
Default constructor should be public in order to be able to instantiate this.protected
BaseDeployed(D deployable, C container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<ConfigurationItem>
getBoundConfigurationItems()
C
getContainer()
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.D
getDeployable()
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.void
setBoundConfigurationItems(java.util.Set<ConfigurationItem> boundConfigurationItems)
void
setContainer(C container)
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.void
setDeployable(D deployable)
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.-
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$externalProperties, get$internalId, get$securedCi, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$externalProperties, set$internalId, set$securedCi, set$token, set$validationMessages, setId, setProperty, setType, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
get$internalId, get$securedCi, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty
-
-
-
-
Method Detail
-
getDeployable
public D getDeployable()
Description copied from interface:Deployed
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.- Specified by:
getDeployable
in interfaceDeployed<D extends Deployable,C extends Container>
- Specified by:
getDeployable
in interfaceEmbeddedDeployedContainer<D extends Deployable,C extends Container>
- Returns:
- The associated
Deployable
CI.
-
setDeployable
public void setDeployable(D deployable)
Description copied from interface:Deployed
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.- Specified by:
setDeployable
in interfaceDeployed<D extends Deployable,C extends Container>
- Specified by:
setDeployable
in interfaceEmbeddedDeployedContainer<D extends Deployable,C extends Container>
- Parameters:
deployable
- The associatedDeployable
CI.
-
getContainer
public C getContainer()
Description copied from interface:Deployed
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.- Specified by:
getContainer
in interfaceDeployed<D extends Deployable,C extends Container>
- Specified by:
getContainer
in interfaceEmbeddedDeployedContainer<D extends Deployable,C extends Container>
- Returns:
- The target
Container
.
-
setContainer
public void setContainer(C container)
Description copied from interface:Deployed
Duplicated fromEmbeddedDeployedContainer
to retain binary compatibility.- Specified by:
setContainer
in interfaceDeployed<D extends Deployable,C extends Container>
- Specified by:
setContainer
in interfaceEmbeddedDeployedContainer<D extends Deployable,C extends Container>
- Parameters:
container
- The targetContainer
.
-
setBoundConfigurationItems
public void setBoundConfigurationItems(java.util.Set<ConfigurationItem> boundConfigurationItems)
- Specified by:
setBoundConfigurationItems
in interfaceDeployed<D extends Deployable,C extends Container>
-
getBoundConfigurationItems
public java.util.Set<ConfigurationItem> getBoundConfigurationItems()
- Specified by:
getBoundConfigurationItems
in interfaceDeployed<D extends Deployable,C extends Container>
-
-