public class StagingPrecondition extends Object implements Precondition
| Modifier and Type | Class and Description |
|---|---|
static interface |
StagingPrecondition.Configuration |
| Constructor and Description |
|---|
StagingPrecondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(StagingPrecondition.Configuration config) |
boolean |
canProcess(long pkgOffset,
int timeoutSeconds)
Checks if a package can be processed
|
void |
deactivate() |
public void activate(StagingPrecondition.Configuration config)
public void deactivate()
public boolean canProcess(long pkgOffset,
int timeoutSeconds)
PreconditioncanProcess in interface PreconditionpkgOffset - the offset of the packagetimeoutSeconds - max seconds to wait until returningCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.