org.jbpm.api
Interface Deployment

All Known Subinterfaces:
NewDeployment

public interface Deployment

represents an existing deployment in the repository.

Author:
Tom Baeyens

Field Summary
static java.lang.String STATE_ACTIVE
          normal deployments for which contained process definitions can be executed.
static java.lang.String STATE_SUSPENDED
          invisible for all operations except delete or resume.
 
Method Summary
 java.lang.String getId()
          unique identification of this deployment that is used as a reference in the service methods
 java.lang.String getName()
          typically correspond to the file name or url or some other form of identifying the source archive file for this deployment.
 java.lang.String getState()
          STATE_ACTIVE or STATE_SUSPENDED
 long getTimestamp()
          the timestamp can optionally be given and represents the last updated timestamp of the archive file that is being deployed.
 

Field Detail

STATE_ACTIVE

static final java.lang.String STATE_ACTIVE
normal deployments for which contained process definitions can be executed.

See Also:
Constant Field Values

STATE_SUSPENDED

static final java.lang.String STATE_SUSPENDED
invisible for all operations except delete or resume. This is to have a kind of undoable delete operation.

See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()
unique identification of this deployment that is used as a reference in the service methods


getName

java.lang.String getName()
typically correspond to the file name or url or some other form of identifying the source archive file for this deployment.


getTimestamp

long getTimestamp()
the timestamp can optionally be given and represents the last updated timestamp of the archive file that is being deployed. JBoss deployer makes use of this to remember if a file is already deployed or not.


getState

java.lang.String getState()
STATE_ACTIVE or STATE_SUSPENDED



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