public static class BuildMemory.MemoryImprint.Entry extends Object implements Cloneable
Constructor and Description |
---|
Entry(BuildMemory.MemoryImprint.Entry copy)
Constructor to create a copy of with the contents of an existing Entry.
|
Modifier and Type | Method and Description |
---|---|
BuildMemory.MemoryImprint.Entry |
clone() |
hudson.model.Run |
getBuild()
The build of a project.
|
Long |
getCompletedTimestamp()
The timestamp when
setBuildCompleted(boolean) was set to true. |
String |
getCustomUrl()
Gets the URL to post for an entry.
|
hudson.model.Job |
getProject()
The Project.
|
Long |
getStartedTimestamp()
The timestamp when
setBuild(Run) was called with a non null value. |
long |
getTriggeredTimestamp()
The timestamp when this entry was created.
|
String |
getUnsuccessfulMessage()
Gets the unsuccessful message for an entry.
|
boolean |
isBuildCompleted()
If the build is completed.
|
boolean |
isCancelled()
If the build was cancelled.
|
boolean |
isProject(hudson.model.Job other)
Deprecated.
use
isProject(String) instead |
boolean |
isProject(String otherName)
If the provided project is the same as this entry is referencing.
|
String |
toString() |
public Entry(BuildMemory.MemoryImprint.Entry copy)
copy
- the entry to copy.clone()
public BuildMemory.MemoryImprint.Entry clone()
@CheckForNull @WithBridgeMethods(value=hudson.model.AbstractProject.class) public hudson.model.Job getProject()
@CheckForNull @WithBridgeMethods(value=hudson.model.AbstractBuild.class) public hudson.model.Run getBuild()
public String getCustomUrl()
public String getUnsuccessfulMessage()
public boolean isBuildCompleted()
public boolean isCancelled()
@CheckForNull public Long getCompletedTimestamp()
setBuildCompleted(boolean)
was set to true.
null
indicates not completed yet.@CheckForNull public Long getStartedTimestamp()
setBuild(Run)
was called with a non null value.
null
indicates not started yet.public long getTriggeredTimestamp()
public boolean isProject(String otherName)
otherName
- the other project name to checkgetProject()
@Deprecated public boolean isProject(hudson.model.Job other)
isProject(String)
insteadother
- the other project to checkCopyright © 2016–2020. All rights reserved.