org.codehaus.cargo.container
Interface Container
- All Superinterfaces:
- Loggable
- All Known Subinterfaces:
- EmbeddedLocalContainer, InstalledLocalContainer, LocalContainer, RemoteContainer
- All Known Implementing Classes:
- AbstractContainer, AbstractEmbeddedLocalContainer, AbstractInstalledLocalContainer, AbstractLocalContainer, AbstractRemoteContainer
public interface Container
- extends Loggable
Common container API to wrap a physical container. There can be specialized types of containers
such as LocalContainer
or
RemoteContainer
.
- Version:
- $Id: Container.java 886 2006-02-28 12:40:47Z vmassol $
getId
java.lang.String getId()
- Returns:
- the short name of the container. Note: this is not a unique id. It is simply the
name in a computer-usable format.
getName
java.lang.String getName()
- Returns:
- the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
getCapability
ContainerCapability getCapability()
- Returns:
- the
ContainerCapability
of the container in term of ability to deploy such
and such type of Deployable
s
(eg WAR, EAR, etc).
getState
State getState()
- Returns:
- the container state (Valid states are Container.STOPPED, Container.STARTED,
Container.STARTING and Container.STOPPING)
getType
ContainerType getType()
- Returns:
- the container's type (local , remote, etc)
Copyright © 2004-2011 Codehaus. All Rights Reserved.