org.jboss.deployers.spi.management.deploy
Interface DeploymentID

All Superinterfaces:
DeploymentOptions

public interface DeploymentID
extends DeploymentOptions

A representation of a top-level deployment id.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org, Emanuel Muckenhuber

Method Summary
 URL getContentURL()
          An optional content URL used for distribute/redeploy operations.
 String getDescription()
          Get a description of the deployment
 String[] getNames()
          Get the names of the deployments.
 ProfileKey getProfile()
          The target profile this deployment is associated with.
 String[] getRepositoryNames()
          Get the unique names of the deployments in the repository.
 boolean isCopyContent()
          Do we copy content or jut ref it.
 void setRepositoryNames(String[] names)
          Set the unique names of the deployments in the repository.
 
Methods inherited from interface org.jboss.deployers.spi.management.deploy.DeploymentOptions
addDeploymentOption, getDeploymentOptions, hasDeploymentOption, removeDeploymentOption
 

Method Detail

getNames

String[] getNames()
Get the names of the deployments.

Returns:
the deployment name

getProfile

ProfileKey getProfile()
The target profile this deployment is associated with.

Returns:
the profile key.

getRepositoryNames

String[] getRepositoryNames()
Get the unique names of the deployments in the repository. Some DeploymentManager operations like distribute produce an alternate unique name that differs from the input name. In this case this method will provide the unique names for the input names. Otherwise this returns the same value as getNames.

Returns:
the unique names of the deployments in the repository

setRepositoryNames

void setRepositoryNames(String[] names)
Set the unique names of the deployments in the repository.

Parameters:
names - - the unique names of the deployments in the repository
See Also:
getRepositoryNames()

getContentURL

URL getContentURL()
An optional content URL used for distribute/redeploy operations.

Returns:

isCopyContent

boolean isCopyContent()
Do we copy content or jut ref it.

Returns:

getDescription

String getDescription()
Get a description of the deployment

Returns:
the identifier


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.