org.cloudsmith.jenkins.stackhammer.deployment
Class DeploymentResult

java.lang.Object
  extended by org.cloudsmith.jenkins.stackhammer.common.StackOpResult<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>>
      extended by org.cloudsmith.jenkins.stackhammer.deployment.DeploymentResult
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, Serializable, Cloneable

@ExportedBean(defaultVisibility=999)
public class DeploymentResult
extends StackOpResult<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>>

See Also:
Serialized Form

Nested Class Summary
static class DeploymentResult.HostEntry
           
 
Constructor Summary
DeploymentResult()
           
 
Method Summary
 void addLogEntries(List<org.cloudsmith.stackhammer.api.model.LogEntry> newLogEntries)
           
 DeploymentResult clone()
           
 void doCatalogGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Method called by the Stapler dispatcher.
 String getDisplayName()
           
 List<DeploymentResult.HostEntry> getHostEntries()
           
 int getHostEntryCount()
           
 String getIconFileName()
           
 String getLargeIconFileName()
           
 List<org.cloudsmith.stackhammer.api.model.LogEntry> getLogEntries()
           
 String getSummary()
           
 String getUrlName()
           
 void setResult(org.cloudsmith.stackhammer.api.model.ResultWithDiagnostic<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>> resultDiagnostic)
           
 
Methods inherited from class org.cloudsmith.jenkins.stackhammer.common.StackOpResult
getApi, getCloneDiagnostics, getRepository, getResult, getResultDiagnostics, getResultDiagnosticsCount, getSummary, getUrlFor, setCloneDiagnostic
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentResult

public DeploymentResult()
Method Detail

addLogEntries

public void addLogEntries(List<org.cloudsmith.stackhammer.api.model.LogEntry> newLogEntries)

clone

public DeploymentResult clone()
Overrides:
clone in class Object

doCatalogGraph

public void doCatalogGraph(org.kohsuke.stapler.StaplerRequest req,
                           org.kohsuke.stapler.StaplerResponse rsp)
                    throws IOException
Method called by the Stapler dispatcher. It is automatically detected when the dispatcher looks for methods that starts with "do" The method doValidation corresponds to the path /stackhammerValidation/dependencyGraph

Parameters:
req -
rsp -
Throws:
IOException

getDisplayName

public String getDisplayName()

getHostEntries

public List<DeploymentResult.HostEntry> getHostEntries()

getHostEntryCount

public int getHostEntryCount()

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action
Overrides:
getIconFileName in class StackOpResult<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>>

getLargeIconFileName

public String getLargeIconFileName()
Overrides:
getLargeIconFileName in class StackOpResult<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>>

getLogEntries

public List<org.cloudsmith.stackhammer.api.model.LogEntry> getLogEntries()

getSummary

public String getSummary()

getUrlName

public String getUrlName()

setResult

public void setResult(org.cloudsmith.stackhammer.api.model.ResultWithDiagnostic<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>> resultDiagnostic)
Overrides:
setResult in class StackOpResult<List<org.cloudsmith.stackhammer.api.model.CatalogGraph>>
Parameters:
validationDiagnostic - the validationDiagnostic to set


Copyright © 2004-2012. All Rights Reserved.