org.cloudsmith.jenkins.stackhammer.common
Class StackOpResult<T>
java.lang.Object
org.cloudsmith.jenkins.stackhammer.common.StackOpResult<T>
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject, Serializable, Cloneable
- Direct Known Subclasses:
- DeploymentResult, ValidationResult
public abstract class StackOpResult<T>
- extends Object
- implements hudson.model.Action, Serializable, Cloneable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
getDisplayName, getUrlName |
StackOpResult
public StackOpResult()
getApi
public hudson.model.Api getApi()
getCloneDiagnostics
public List<org.cloudsmith.stackhammer.api.model.Diagnostic> getCloneDiagnostics()
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getLargeIconFileName
public String getLargeIconFileName()
getRepository
protected org.cloudsmith.stackhammer.api.model.Repository getRepository()
getResult
public T getResult()
getResultDiagnostics
public List<org.cloudsmith.stackhammer.api.model.Diagnostic> getResultDiagnostics()
getResultDiagnosticsCount
public int getResultDiagnosticsCount()
getSummary
protected String getSummary(List<? extends org.cloudsmith.stackhammer.api.model.MessageWithSeverity> messages)
getUrlFor
protected String getUrlFor(String item)
setCloneDiagnostic
public void setCloneDiagnostic(org.cloudsmith.stackhammer.api.model.ResultWithDiagnostic<org.cloudsmith.stackhammer.api.model.Repository> cloneDiagnostic)
- Parameters:
cloneDiagnostic - the cloneDiagnostic to set
setResult
public void setResult(org.cloudsmith.stackhammer.api.model.ResultWithDiagnostic<T> resultDiagnostic)
Copyright © 2004-2012. All Rights Reserved.