public class UseMangoTestTask
extends hudson.model.queue.AbstractQueueTask
implements hudson.security.AccessControlled
Constructor and Description |
---|
UseMangoTestTask(String nodeLabel,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
ExecutableTest test,
String projectId,
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials) |
Modifier and Type | Method and Description |
---|---|
void |
checkAbortPermission() |
void |
checkPermission(hudson.security.Permission p) |
hudson.model.Queue.Executable |
createExecutable() |
hudson.security.ACL |
getACL() |
hudson.model.Label |
getAssignedLabel() |
String |
getDisplayName() |
long |
getEstimatedDuration() |
String |
getFullDisplayName() |
hudson.model.Node |
getLastBuiltOn() |
String |
getName() |
hudson.model.ResourceList |
getResourceList() |
Collection<? extends hudson.model.queue.SubTask> |
getSubTasks() |
String |
getUrl() |
String |
getWhyBlocked() |
boolean |
hasAbortPermission() |
boolean |
hasPermission(hudson.security.Permission p) |
boolean |
isBuildBlocked() |
public UseMangoTestTask(String nodeLabel, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, ExecutableTest test, String projectId, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
public String getName()
getName
in interface hudson.model.Queue.Task
public String getFullDisplayName()
getFullDisplayName
in interface hudson.model.Queue.Task
public String getUrl()
getUrl
in interface hudson.model.Queue.Task
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in interface hudson.model.ResourceActivity
public hudson.model.Label getAssignedLabel()
getAssignedLabel
in interface hudson.model.queue.SubTask
public hudson.model.Node getLastBuiltOn()
getLastBuiltOn
in interface hudson.model.queue.SubTask
public long getEstimatedDuration()
getEstimatedDuration
in interface hudson.model.queue.SubTask
public Collection<? extends hudson.model.queue.SubTask> getSubTasks()
getSubTasks
in interface hudson.model.Queue.Task
getSubTasks
in class hudson.model.queue.AbstractQueueTask
public void checkPermission(hudson.security.Permission p) throws org.acegisecurity.AccessDeniedException
checkPermission
in interface hudson.security.AccessControlled
org.acegisecurity.AccessDeniedException
public hudson.security.ACL getACL()
getACL
in interface hudson.security.AccessControlled
public boolean hasPermission(hudson.security.Permission p)
hasPermission
in interface hudson.security.AccessControlled
public void checkAbortPermission()
checkAbortPermission
in interface hudson.model.Queue.Task
public String getWhyBlocked()
getWhyBlocked
in interface hudson.model.Queue.Task
public boolean hasAbortPermission()
hasAbortPermission
in interface hudson.model.Queue.Task
public boolean isBuildBlocked()
isBuildBlocked
in interface hudson.model.Queue.Task
public hudson.model.ResourceList getResourceList()
getResourceList
in interface hudson.model.ResourceActivity
public hudson.model.Queue.Executable createExecutable() throws IOException
createExecutable
in interface hudson.model.queue.SubTask
IOException
Copyright © 2016–2020. All rights reserved.