public class LockTryAcquireAction extends Object implements TaskAction<com.google.common.base.Optional<TaskLock>>
Constructor and Description |
---|
LockTryAcquireAction(org.joda.time.Interval interval) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Interval |
getInterval() |
com.fasterxml.jackson.core.type.TypeReference<com.google.common.base.Optional<TaskLock>> |
getReturnTypeReference() |
boolean |
isAudited() |
com.google.common.base.Optional<TaskLock> |
perform(Task task,
TaskActionToolbox toolbox) |
String |
toString() |
public LockTryAcquireAction(org.joda.time.Interval interval)
public org.joda.time.Interval getInterval()
public com.fasterxml.jackson.core.type.TypeReference<com.google.common.base.Optional<TaskLock>> getReturnTypeReference()
getReturnTypeReference
in interface TaskAction<com.google.common.base.Optional<TaskLock>>
public com.google.common.base.Optional<TaskLock> perform(Task task, TaskActionToolbox toolbox)
perform
in interface TaskAction<com.google.common.base.Optional<TaskLock>>
public boolean isAudited()
isAudited
in interface TaskAction<com.google.common.base.Optional<TaskLock>>
Copyright © 2011–2015. All rights reserved.