public static class AbstractExecutor.CommandExecutor extends Object implements CommandExecutorInterface
Modifier and Type | Field and Description |
---|---|
String |
pretrCMD
Retrieve External Command
|
int |
pretrType |
String |
pstorCMD
Store External Command
|
int |
pstorType |
Constructor and Description |
---|
CommandExecutor(String retrieve,
long retrDelay,
String store,
long storDelay) |
Modifier and Type | Method and Description |
---|---|
long |
getPretrDelay() |
long |
getPstorDelay() |
String |
getRetrType() |
String |
getStorType() |
boolean |
isPretrRefused() |
boolean |
isPstorRefused() |
boolean |
isValidOperation(boolean isStore)
Check if the given operation is allowed
|
void |
setPretrDelay(long pretrDelay) |
void |
setPretrRefused(boolean pretrRefused) |
void |
setPstorDelay(long pstorDelay) |
void |
setPstorRefused(boolean pstorRefused) |
public final String pretrCMD
public final int pretrType
public final String pstorCMD
public final int pstorType
public final boolean isValidOperation(boolean isStore)
CommandExecutorInterface
isValidOperation
in interface CommandExecutorInterface
public final String getRetrType()
getRetrType
in interface CommandExecutorInterface
public final String getStorType()
getStorType
in interface CommandExecutorInterface
public final boolean isPretrRefused()
public final void setPretrRefused(boolean pretrRefused)
pretrRefused
- the pretrRefused to setpublic final long getPretrDelay()
public final void setPretrDelay(long pretrDelay)
pretrDelay
- the pretrDelay to setpublic final boolean isPstorRefused()
public final void setPstorRefused(boolean pstorRefused)
pstorRefused
- the pstorRefused to setpublic final long getPstorDelay()
public final void setPstorDelay(long pstorDelay)
pstorDelay
- the pstorDelay to setCopyright © 2009–2022 Waarp. All rights reserved.