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 boolean isValidOperation(boolean isStore)
CommandExecutorInterface
isValidOperation
in interface CommandExecutorInterface
public String getRetrType()
getRetrType
in interface CommandExecutorInterface
public String getStorType()
getStorType
in interface CommandExecutorInterface
public boolean isPretrRefused()
public void setPretrRefused(boolean pretrRefused)
pretrRefused
- the pretrRefused to setpublic long getPretrDelay()
public void setPretrDelay(long pretrDelay)
pretrDelay
- the pretrDelay to setpublic boolean isPstorRefused()
public void setPstorRefused(boolean pstorRefused)
pstorRefused
- the pstorRefused to setpublic long getPstorDelay()
public void setPstorDelay(long pstorDelay)
pstorDelay
- the pstorDelay to setCopyright © 2009–2020 Waarp. All rights reserved.