Package se.ikama.bauta.core
Class BasicJobInstanceInfo
- java.lang.Object
-
- se.ikama.bauta.core.BasicJobInstanceInfo
-
- Direct Known Subclasses:
JobInstanceInfo
public class BasicJobInstanceInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intcompletedCountprotected java.lang.Stringdescriptionprotected intfailedCountprotected java.lang.Stringnameprotected intrunningCountprotected intstoppedCountprotected intunknownCount
-
Constructor Summary
Constructors Constructor Description BasicJobInstanceInfo(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()booleanhasJobParameters()Does this job take any job parameters?booleanisCompleted()booleanisFailed()booleanisRestartable()booleanisRunning()booleanisUnknown()java.lang.StringtoString()
-
-
-
Field Detail
-
name
protected java.lang.String name
-
description
protected java.lang.String description
-
completedCount
protected int completedCount
-
runningCount
protected int runningCount
-
unknownCount
protected int unknownCount
-
stoppedCount
protected int stoppedCount
-
failedCount
protected int failedCount
-
-
Method Detail
-
isRestartable
public boolean isRestartable()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hasJobParameters
public boolean hasJobParameters()
Does this job take any job parameters?
-
isRunning
public boolean isRunning()
-
isCompleted
public boolean isCompleted()
-
isFailed
public boolean isFailed()
-
isUnknown
public boolean isUnknown()
-
-