ncsa.tools.trebuchet.core.types
Class TrebuchetConfiguration
java.lang.Object
ncsa.tools.common.types.Configuration
ncsa.tools.trebuchet.core.types.TrebuchetConfiguration
- All Implemented Interfaces:
- UserFacing
- public class TrebuchetConfiguration
- extends Configuration
Extends the common configuration object to include fields for credentials and
optimization settings.
- Author:
- arossi
- See Also:
Configuration
|
Field Summary |
static java.lang.String |
TAG_SELF
|
| Methods inherited from class ncsa.tools.common.types.Configuration |
addActualValueAttribute, addActualValueAttribute, addBooleanProperty, addConfiguredAttribute, addDoubleProperty, addIntProperty, addLongProperty, addProperty, addProperty, addProperty, addProperty, clear, configureObject, configureObject, getActualValue, getProperties, getProperty, getPropertyObjectMap, getPropertyValue, hasMatch, hasProperty, nameValueObjectPairs, nameValueStringPairs, remove, removeProperty, setProperties |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG_SELF
public static final java.lang.String TAG_SELF
- See Also:
- Constant Field Values
TrebuchetConfiguration
public TrebuchetConfiguration()
asElement
public org.dom4j.Element asElement()
- Specified by:
asElement in interface UserFacing- Overrides:
asElement in class Configuration
toString
public java.lang.String toString()
- Overrides:
toString in class Configuration
initializeFromElement
public void initializeFromElement(org.dom4j.Element element)
- Specified by:
initializeFromElement in interface UserFacing- Overrides:
initializeFromElement in class Configuration
mergeWith
public Configuration mergeWith(Configuration parent)
- Description copied from class:
Configuration
- Union of parent with this object; values in this (child) shadow/overwrite
identically named values in parent.
- Overrides:
mergeWith in class Configuration
- Parameters:
parent -
- Returns:
getUser
public java.lang.String getUser()
setUser
public void setUser(java.lang.String user)
getCredential
public org.ietf.jgss.GSSCredential getCredential()
setCredential
public void setCredential(org.ietf.jgss.GSSCredential credential)
getOptimizations
public java.util.List getOptimizations()
setOptimizations
public void setOptimizations(java.util.List optimizations)
addOptimization
public void addOptimization(ClientOptimization optimization)