org.ow2.petals.admin.api.artifact
Class Component

java.lang.Object
  extended by org.ow2.petals.admin.api.artifact.Artifact
      extended by org.ow2.petals.admin.api.artifact.Component
All Implemented Interfaces:
ArtifactState

public class Component
extends Artifact
implements ArtifactState

This class represents a remote JBI Component.

Author:
Nicolas Oddoux - EBM WebSourcing

Nested Class Summary
static class Component.ComponentType
           
 
Nested classes/interfaces inherited from interface org.ow2.petals.admin.api.artifact.ArtifactState
ArtifactState.State
 
Constructor Summary
Component(java.lang.String name, Component.ComponentType type)
           
Component(java.lang.String name, Component.ComponentType type, java.util.Properties parameters)
           
 
Method Summary
 Component.ComponentType getComponentType()
          Get the component type
 java.util.Properties getParameters()
          Get the parameters
 ArtifactState.State getState()
           
 void setState(ArtifactState.State state)
           
 
Methods inherited from class org.ow2.petals.admin.api.artifact.Artifact
equals, getName, getType, getVersion, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component(java.lang.String name,
                 Component.ComponentType type,
                 java.util.Properties parameters)

Component

public Component(java.lang.String name,
                 Component.ComponentType type)
Method Detail

getComponentType

public final Component.ComponentType getComponentType()
Get the component type

Returns:
the component type

getParameters

public final java.util.Properties getParameters()
Get the parameters

Returns:
the parameters

getState

public ArtifactState.State getState()
Specified by:
getState in interface ArtifactState

setState

public void setState(ArtifactState.State state)
Specified by:
setState in interface ArtifactState


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.