@ExportedBean(defaultVisibility=100) public class SimpleStatus extends Object implements Status
| Constructor and Description | 
|---|
SimpleStatus(StatusType type,
            long lastActivity,
            long duration)  | 
SimpleStatus(StatusType type,
            long lastActivity,
            long duration,
            boolean promoted,
            List<PromotionStatus> promotions)  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getDuration()  | 
long | 
getLastActivity()  | 
List<PromotionStatus> | 
getPromotions()  | 
String | 
getTimestamp()  | 
StatusType | 
getType()  | 
boolean | 
isCancelled()  | 
boolean | 
isDisabled()  | 
boolean | 
isFailed()  | 
boolean | 
isIdle()  | 
boolean | 
isNotBuilt()  | 
boolean | 
isPromoted()  | 
boolean | 
isQueued()  | 
boolean | 
isRunning()  | 
boolean | 
isSuccess()  | 
boolean | 
isUnstable()  | 
static Status | 
resolveStatus(hudson.model.AbstractProject project,
             hudson.model.AbstractBuild build,
             hudson.model.AbstractBuild firstBuild)  | 
String | 
toString()  | 
public SimpleStatus(StatusType type, long lastActivity, long duration)
public SimpleStatus(StatusType type, long lastActivity, long duration, boolean promoted, List<PromotionStatus> promotions)
@Exported public List<PromotionStatus> getPromotions()
getPromotions in interface Status@Exported public boolean isPromoted()
isPromoted in interface Status@Exported public StatusType getType()
public long getLastActivity()
getLastActivity in interface Status@Exported public String getTimestamp()
getTimestamp in interface Status@Exported public long getDuration()
getDuration in interface Status@Exported public boolean isUnstable()
isUnstable in interface Status@Exported public boolean isCancelled()
isCancelled in interface Statuspublic boolean isNotBuilt()
isNotBuilt in interface Statuspublic boolean isDisabled()
isDisabled in interface Statuspublic static Status resolveStatus(hudson.model.AbstractProject project, hudson.model.AbstractBuild build, hudson.model.AbstractBuild firstBuild)
Copyright © 2016–2020 Diabol AB. All rights reserved.