public class ScanProgressItem extends Object
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_COMPLETED |
static int |
STATUS_PENDING |
static int |
STATUS_RUNNING |
Constructor and Description |
---|
ScanProgressItem(HostProcess hProcess,
Plugin plugin,
int status) |
Modifier and Type | Method and Description |
---|---|
String |
getAttackStrenghtLabel()
Deprecated.
(2.11.0) Use
getAttackStrengthLabel() |
String |
getAttackStrengthLabel() |
long |
getElapsedTime() |
String |
getNameLabel() |
protected Plugin |
getPlugin() |
int |
getProgressPercentage()
Get back the percentage of completion.
|
int |
getReqCount() |
String |
getSkippedReason()
Gets the reason why the plugin was skipped.
|
String |
getStatusLabel() |
boolean |
isCompleted() |
boolean |
isRunning() |
boolean |
isSkipped()
Tells whether or not the plugin was skipped.
|
void |
skip() |
String |
toString() |
public static final int STATUS_PENDING
public static final int STATUS_RUNNING
public static final int STATUS_COMPLETED
public ScanProgressItem(HostProcess hProcess, Plugin plugin, int status)
plugin
- status
- public String getNameLabel()
@Deprecated public String getAttackStrenghtLabel()
getAttackStrengthLabel()
public String getAttackStrengthLabel()
public String getStatusLabel()
public long getElapsedTime()
public int getProgressPercentage()
public boolean isRunning()
public boolean isCompleted()
public boolean isSkipped()
true
if the plugin was skipped, false
otherwise.getSkippedReason()
public String getSkippedReason()
null
if there's no reasonisSkipped()
public void skip()
protected Plugin getPlugin()
public int getReqCount()