public interface AsyncAttributes<T> extends Attributes
Attributes
interface.
The generic type T
specifies the object type that implements
this interface.Modifier and Type | Method and Description |
---|---|
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.
|
existsAttribute, findAttributes, getAttribute, getVectorAttribute, isReadOnlyAttribute, isRemovableAttribute, isVectorAttribute, isWritableAttribute, listAttributes, removeAttribute, setAttribute, setVectorAttribute
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.Copyright © 2016 Open Grid Forum. All rights reserved.