|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsyncAttributes<T>
Task versions of all methods from the Attributes interface.
The generic type T specifies the object type that implements
this interface.
| Field Summary |
|---|
| Fields inherited from interface org.ogf.saga.attributes.Attributes |
|---|
BOOL, ENUM, FALSE, FLOAT, INT, STRING, TIME, TRIGGER, TRUE |
| Method Summary | |
|---|---|
Task<T,Boolean> |
existsAttribute(TaskMode mode,
String key)
Creates a task that tests for the existence of an attribute. |
Task<T,String[]> |
findAttributes(TaskMode mode,
String... patterns)
Creates a task that finds matching attributes. |
Task<T,String> |
getAttribute(TaskMode mode,
String key)
Creates a task that obtains the value of an attribute. |
Task<T,String[]> |
getVectorAttribute(TaskMode mode,
String key)
Creates a task that obtains the array of values associated with an attribute. |
Task<T,Boolean> |
isReadOnlyAttribute(TaskMode mode,
String key)
Creates a task that checks the attribute mode for being read-only. |
Task<T,Boolean> |
isRemovableAttribute(TaskMode mode,
String key)
Creates a task that checks the attribute mode for being removable. |
Task<T,Boolean> |
isVectorAttribute(TaskMode mode,
String key)
Creates a task that checks the attribute mode for being a vector. |
Task<T,Boolean> |
isWritableAttribute(TaskMode mode,
String key)
Creates a task that checks the attribute mode for being writable. |
Task<T,String[]> |
listAttributes(TaskMode mode)
Creates a task that obtains the list of attribute keys. |
Task<T,Void> |
removeAttribute(TaskMode mode,
String key)
Creates a task that removes an attribute. |
Task<T,Void> |
setAttribute(TaskMode mode,
String key,
String value)
Creates a task that sets an attribute to a value. |
Task<T,Void> |
setVectorAttribute(TaskMode mode,
String key,
String[] values)
Creates a task that sets an attribute to an array of values. |
| Methods inherited from interface org.ogf.saga.attributes.Attributes |
|---|
existsAttribute, findAttributes, getAttribute, getVectorAttribute, isReadOnlyAttribute, isRemovableAttribute, isVectorAttribute, isWritableAttribute, listAttributes, removeAttribute, setAttribute, setVectorAttribute |
| Method Detail |
|---|
Task<T,Void> setAttribute(TaskMode mode,
String key,
String value)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.value - value to set the attribute to.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,String> getAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Void> setVectorAttribute(TaskMode mode,
String key,
String[] values)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.values - values to set the attribute to.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,String[]> getVectorAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Void> removeAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,String[]> listAttributes(TaskMode mode)
throws NotImplementedException
mode - determines the initial state of the task.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,String[]> findAttributes(TaskMode mode,
String... patterns)
throws NotImplementedException
mode - determines the initial state of the task.patterns - the search patterns.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Boolean> existsAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Boolean> isReadOnlyAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Boolean> isWritableAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Boolean> isRemovableAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
Task<T,Boolean> isVectorAttribute(TaskMode mode,
String key)
throws NotImplementedException
mode - determines the initial state of the task.key - the attribute key.
NotImplementedException - is thrown when the task version of this method is not
implemented.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||