com.sonyericsson.jenkins.plugins.bfa.model
Class FoundFailureCause

java.lang.Object
  extended by com.sonyericsson.jenkins.plugins.bfa.model.FoundFailureCause

@ExportedBean
public class FoundFailureCause
extends Object

Found Failure Cause of a build.

Author:
Tomas Westling <tomas.westling@sonymobile.com>

Constructor Summary
FoundFailureCause(FailureCause originalCause)
          Standard constructor.
 
Method Summary
 void addIndication(FoundIndication indication)
          Adds a found indication to the list.
 void addIndications(List<FoundIndication> foundIndications)
          Adds a list of FoundIndications to this cause.
 List<String> getCategories()
          Getter for the categories.
 String getDescription()
          Getter for the description.
 String getId()
          Getter for the id.
 List<FoundIndication> getIndications()
          Getter for the list of found indications.
 String getName()
          Getter for the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FoundFailureCause

public FoundFailureCause(FailureCause originalCause)
Standard constructor.

Parameters:
originalCause - the original FailureCause.
Method Detail

getId

@Exported
public String getId()
Getter for the id.

Returns:
the id.

getName

@Exported
public String getName()
Getter for the name.

Returns:
the name.

getDescription

@Exported
public String getDescription()
Getter for the description.

Returns:
the description.

getCategories

@Exported
public List<String> getCategories()
Getter for the categories.

Returns:
the categories.

getIndications

public List<FoundIndication> getIndications()
Getter for the list of found indications.

Returns:
the list.

addIndication

public void addIndication(FoundIndication indication)
Adds a found indication to the list.

Parameters:
indication - the indication to add.

addIndications

public void addIndications(List<FoundIndication> foundIndications)
Adds a list of FoundIndications to this cause.

Parameters:
foundIndications - the list of FoundIndications.


Copyright © 2004-2014. All Rights Reserved.