org.almendra.janet.cas.node
Class AgentDescriptor

java.lang.Object
  extended by org.almendra.janet.cas.node.Descriptor
      extended by org.almendra.janet.cas.node.AgentDescriptor

public class AgentDescriptor
extends Descriptor

Author:
Oliver

Field Summary
protected  java.lang.String executeWhenAppStarted
           
protected  java.lang.String name
           
static java.lang.String XMLAgentNameTag
           
static java.lang.String XMLExecuteWhenAppStartedTag
           
 
Constructor Summary
AgentDescriptor()
          Creates a new AgentDescriptor object.
AgentDescriptor(java.lang.String name)
          Creates a new AgentDescriptor object.
 
Method Summary
static AgentDescriptor create(org.jdom.Element node)
           
 java.lang.String getExecuteWhenAppStarted()
           
 java.lang.String getName()
           
 void setExecuteWhenAppStarted(java.lang.String executeWhenAppStarted)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLExecuteWhenAppStartedTag

public static final java.lang.String XMLExecuteWhenAppStartedTag
See Also:
Constant Field Values

XMLAgentNameTag

public static final java.lang.String XMLAgentNameTag
See Also:
Constant Field Values

name

protected java.lang.String name

executeWhenAppStarted

protected java.lang.String executeWhenAppStarted
Constructor Detail

AgentDescriptor

public AgentDescriptor()
Creates a new AgentDescriptor object.


AgentDescriptor

public AgentDescriptor(java.lang.String name)
Creates a new AgentDescriptor object.

Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

create

public static AgentDescriptor create(org.jdom.Element node)
                              throws XMLParseException
Throws:
XMLParseException

getExecuteWhenAppStarted

public java.lang.String getExecuteWhenAppStarted()
Returns:
Returns the executeWhenAppStarted.

setExecuteWhenAppStarted

public void setExecuteWhenAppStarted(java.lang.String executeWhenAppStarted)
Parameters:
executeWhenAppStarted - The executeWhenAppStarted to set.