jason.core
Interface ActionConfig

All Known Subinterfaces:
ServiceConfig
All Known Implementing Classes:
CustomProperties

public interface ActionConfig

Action Configuration. Look at the DTD for more information about action.

Since:
1.0
See Also:
ServiceConfig

Method Summary
 boolean getBooleanProperty(java.lang.String key)
           
 int getIntProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 

Method Detail

getIntProperty

public int getIntProperty(java.lang.String key)
Returns:
an int , cast a property value to integer

getBooleanProperty

public boolean getBooleanProperty(java.lang.String key)
Returns:
a boolean, cast a property value to a boolean (true/false)

getProperty

public java.lang.String getProperty(java.lang.String key)
Returns:
a string property

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Returns:
value for key or defaultValue if the key doesn't exist