|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfulmine.protocol.wire.operation.BasicOperation
public class BasicOperation
A basic operation implementation. This is not thread safe.
| Constructor Summary | |
|---|---|
BasicOperation(IPermissionProfile permissionProfile)
|
|
| Method Summary | |
|---|---|
void |
exception(Object object,
Exception e)
Signals an exception occurred during the operation within the object argument. |
void |
exiting(Object object,
boolean processed)
Signals that the executing thread is exiting a code block that executed IOperationScope.include(Object). |
Map<Object,Exception> |
getExceptions()
Get the exceptions that have occurred in the operation up to this point. |
IPermissionProfile |
getPermissionProfile()
Get the permission profile for the operation scope. |
Set<Object> |
getScope()
Get the set of objects that form the current scope. |
boolean |
include(Object object)
Determine if the object should be included in the operation. |
void |
validate()
Validate the scope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicOperation(IPermissionProfile permissionProfile)
| Method Detail |
|---|
public void exception(Object object,
Exception e)
IOperationScope
exception in interface IOperationScopeobject - the object in which the exception occurrede - the exception that occurred
public void exiting(Object object,
boolean processed)
IOperationScopeIOperationScope.include(Object). This method serves to allow the scope to do any
required post-processing after the IOperationScope.include(Object) request. A
flag indicates if the object was actually processed or not.
exiting in interface IOperationScopeobject - an object that was previously examined with
IOperationScope.include(Object)processed - true if the component was processedpublic Map<Object,Exception> getExceptions()
IOperationScope
getExceptions in interface IOperationScopepublic Set<Object> getScope()
IOperationScope
getScope in interface IOperationScopeSet of objects that the operation includes.public boolean include(Object object)
IOperationScope
include in interface IOperationScopeobject - the object to examine for eligibility in the operation this
represents
#exiting(IComponent)public void validate()
IOperationScopeIllegalStateException encapsulating the exceptions that occurred
during the scope.
validate in interface IOperationScopepublic IPermissionProfile getPermissionProfile()
IOperationScope
getPermissionProfile in interface IOperationScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||