Class AbsoluteTimeoutHandlerProxyImpl
- java.lang.Object
-
- com.day.cq.workflow.compatibility.AbsoluteTimeoutHandlerProxyImpl
-
- All Implemented Interfaces:
AbsoluteTimeoutHandlerProxy
@Property(name="service.description", value="%cq.workflow.compat.absolutetimeoutproxy.description") @References(@Reference(name="AbsoluteTimeoutHandler",cardinality=OPTIONAL_MULTIPLE,referenceInterface=AbsoluteTimeoutHandler.class,policy=DYNAMIC)) @Service public class AbsoluteTimeoutHandlerProxyImpl extends java.lang.Object implements AbsoluteTimeoutHandlerProxy
-
-
Constructor Summary
Constructors Constructor Description AbsoluteTimeoutHandlerProxyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
boolean
canExecute(java.lang.String handlerName)
AbsoluteTimeoutHandler
findHandler(java.lang.String handlerName)
Returns a AbsoluteTimeoutHandler if this proxy can handle the request identified by the parameter.long
getTimeoutDate(WorkItem workItem)
void
unbindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
-
-
-
Method Detail
-
bindAbsoluteTimeoutHandler
public void bindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
-
unbindAbsoluteTimeoutHandler
public void unbindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
-
canExecute
public boolean canExecute(java.lang.String handlerName)
-
getTimeoutDate
public long getTimeoutDate(WorkItem workItem)
-
findHandler
public AbsoluteTimeoutHandler findHandler(java.lang.String handlerName)
Description copied from interface:AbsoluteTimeoutHandlerProxy
Returns a AbsoluteTimeoutHandler if this proxy can handle the request identified by the parameter.- Specified by:
findHandler
in interfaceAbsoluteTimeoutHandlerProxy
- Parameters:
handlerName
- name to identify the AbsoluteTimeoutHandler.- Returns:
- an AbsoluteTimeoutHandler if this proxy can handle the provided name, null otherwise.
-
-