Modifier and Type | Field and Description |
---|---|
static String |
CONDOR |
static String |
DAGMAN |
static String |
ENV |
static String |
GLOBUS |
static String |
HINTS |
private static Escape |
mEscape
A private static handle to the escape class.
|
private String |
mKey |
private String |
mNamespace |
private String |
mValue |
static String |
SELECTOR |
static String |
STAT |
static String |
VDS |
Constructor and Description |
---|
Profile()
C'tpr for the class;
|
Profile(String namespace,
String key,
String value)
This constructor allows to set the namespace , key and value of the PoolProfile.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a copy of the object.
|
List |
getProfile()
Returns the Profile (namespace, value and key);
|
String |
getProfileKey()
Returns the Key of the Profile
|
String |
getProfileNamespace()
Returns the NameSpace of the Profile
|
String |
getProfileValue()
Returns the Value for the profile
|
static boolean |
namespaceValid(String namespace)
Returns a boolean indicating whether the namespace is valid or not.
|
void |
setProfile(String namespace,
String key,
String value)
This method allows to set the namespace , key and value of the Profile.
|
void |
setProfileKey(String key)
Sets the profile key
|
void |
setProfileNamespace(String namespace)
Sets the NameSpace of the Profile
|
void |
setProfileValue(String value)
Sets the profile value
|
String |
toMultiLine()
Returns the textual description of the contents of
Profile
object in the multiline format. |
String |
toString()
This method returns a string of the contents of this object.
|
String |
toXML()
This method returns an xml of the contents of this object.
|
static String |
unknownNamespaceMessage(String namespace)
Returns the unknown namespace message.
|
static String |
validTypesToString()
Returns a comma separated string containing the valid namespace types.
|
setToString, vectorToString
private static Escape mEscape
public static final String CONDOR
public static final String GLOBUS
public static final String VDS
public static final String DAGMAN
public static final String HINTS
public static final String ENV
public static final String STAT
public static final String SELECTOR
private String mNamespace
private String mKey
private String mValue
public Profile()
Exception
public Profile(String namespace, String key, String value)
namespace
- Takes a String as the namespace. Has to be one of the predefined types.key
- Takes a String as the key.value
- The value for the key as StringException
public static final String unknownNamespaceMessage(String namespace)
namespace
- the namespace.public static boolean namespaceValid(String namespace)
namespace
- the namespacepublic static String validTypesToString()
public void setProfile(String namespace, String key, String value)
namespace
- Takes a String as the namespace. Has to be one of the predefined types.key
- Takes a String as the key.value
- The value for the key as StringException
public List getProfile()
public void setProfileNamespace(String namespace)
namespace
- the namespacein
- case of invalid namespacepublic String getProfileNamespace()
public void setProfileKey(String key)
key
- the profile keypublic String getProfileKey()
public void setProfileValue(String value)
value
- the profile valuepublic String getProfileValue()
public String toMultiLine()
Profile
object in the multiline format.public String toString()
public String toXML()