com.evolveum.midpoint.model.lens
Class Clockwork

java.lang.Object
  extended by com.evolveum.midpoint.model.lens.Clockwork

@Component
public class Clockwork
extends java.lang.Object

Author:
semancik

Field Summary
static int MAX_REWIND_ATTEMPTS
           
 
Constructor Summary
Clockwork()
           
 
Method Summary
<F extends ObjectType,P extends ObjectType>
HookOperationMode
click(LensContext<F,P> context, Task task, OperationResult result)
           
 LensDebugListener getDebugListener()
           
<F extends ObjectType,P extends ObjectType>
HookOperationMode
run(LensContext<F,P> context, Task task, OperationResult result)
           
 void setDebugListener(LensDebugListener debugListener)
           
static void throwException(java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_REWIND_ATTEMPTS

public static final int MAX_REWIND_ATTEMPTS
See Also:
Constant Field Values
Constructor Detail

Clockwork

public Clockwork()
Method Detail

getDebugListener

public LensDebugListener getDebugListener()

setDebugListener

public void setDebugListener(LensDebugListener debugListener)

run

public <F extends ObjectType,P extends ObjectType> HookOperationMode run(LensContext<F,P> context,
                                                                         Task task,
                                                                         OperationResult result)
                      throws SchemaException,
                             PolicyViolationException,
                             ExpressionEvaluationException,
                             ObjectNotFoundException,
                             ObjectAlreadyExistsException,
                             CommunicationException,
                             ConfigurationException,
                             SecurityViolationException,
                             RewindException
Throws:
SchemaException
PolicyViolationException
ExpressionEvaluationException
ObjectNotFoundException
ObjectAlreadyExistsException
CommunicationException
ConfigurationException
SecurityViolationException
RewindException

click

public <F extends ObjectType,P extends ObjectType> HookOperationMode click(LensContext<F,P> context,
                                                                           Task task,
                                                                           OperationResult result)
                        throws SchemaException,
                               PolicyViolationException,
                               ExpressionEvaluationException,
                               ObjectNotFoundException,
                               ObjectAlreadyExistsException,
                               CommunicationException,
                               ConfigurationException,
                               SecurityViolationException,
                               RewindException
Throws:
SchemaException
PolicyViolationException
ExpressionEvaluationException
ObjectNotFoundException
ObjectAlreadyExistsException
CommunicationException
ConfigurationException
SecurityViolationException
RewindException

throwException

public static void throwException(java.lang.Throwable e)
                           throws ObjectAlreadyExistsException,
                                  ObjectNotFoundException
Throws:
ObjectAlreadyExistsException
ObjectNotFoundException


Copyright © 2012 evolveum. All Rights Reserved.