|
COSMOS ${releaseVersion} resource-modeling Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISMLOperation
Represents an operation that can be performed on a repository.
ISMLRepository.getSupportedOperations() should be used to retrieve
the set of operations that a repository will support.
| Method Summary | |
|---|---|
void |
addArgument(java.lang.Object argument)
Adds an argument to this operation. |
void |
addProgressListener(IProgressListener listener)
Adds listener to the list of operation progress listeners that are tracked by this operation |
java.lang.String |
getId()
Returns the unique ID of this operation. |
void |
removeProgressListener(IProgressListener listener)
Removes listener from the list of progress listener. |
void |
run()
Executes this operation. |
void |
setArguments(java.lang.Object[] arguments)
Sets the arguments of this operation. |
| Method Detail |
|---|
java.lang.String getId()
void setArguments(java.lang.Object[] arguments)
throws java.lang.IllegalArgumentException
arguments - The arguments of this operation
java.lang.IllegalArgumentException - If the argument type is not what is
expected by the underlying implementation
void addArgument(java.lang.Object argument)
throws java.lang.IllegalArgumentException
argument - The argument to be added
java.lang.IllegalArgumentException - If the argument type is not what is
expected by the underlying implementationvoid addProgressListener(IProgressListener listener)
listener - The listener to be addedvoid removeProgressListener(IProgressListener listener)
listener - The listener to be removed
void run()
throws RepositoryOperationException
RepositoryOperationException - In case of any error
|
COSMOS ${releaseVersion} resource-modeling Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||