public class StagingPrecondition extends Object implements Precondition, Runnable
| Constructor and Description |
|---|
StagingPrecondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
boolean |
canProcess(String subAgentName,
long pkgOffset,
int timeoutSeconds)
Checks if a package can be processed
|
void |
deactivate() |
void |
run() |
public void activate()
public void deactivate()
public boolean canProcess(String subAgentName, long pkgOffset, int timeoutSeconds) throws TimeoutException
PreconditioncanProcess in interface PreconditionpkgOffset - the offset of the packagetimeoutSeconds - max seconds to wait until returningTimeoutException - if the timeout expired without being able to determine statusCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.