Uses of Class
com.sonyericsson.jenkins.plugins.bfa.model.FailureCause
-
-
Uses of FailureCause in com.sonyericsson.jenkins.plugins.bfa
Fields in com.sonyericsson.jenkins.plugins.bfa declared as FailureCause Modifier and Type Field Description static FailureCause
MetricsManager. UNKNOWNCAUSE
A magic cause to represent builds that match no causes in the database.Methods in com.sonyericsson.jenkins.plugins.bfa that return FailureCause Modifier and Type Method Description FailureCause
CauseManagement. getDynamic(String id, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
Dynamic Stapler URL binding.Methods in com.sonyericsson.jenkins.plugins.bfa that return types with arguments of type FailureCause Modifier and Type Method Description Iterable<FailureCause>
CauseManagement. getShallowCauses()
Convenience method forKnowledgeBase.getShallowCauses()
. -
Uses of FailureCause in com.sonyericsson.jenkins.plugins.bfa.db
Methods in com.sonyericsson.jenkins.plugins.bfa.db that return FailureCause Modifier and Type Method Description abstract FailureCause
KnowledgeBase. addCause(FailureCause cause)
Saves a new cause to the db and generates a new id for the cause.FailureCause
LocalFileKnowledgeBase. addCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. addCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. addCause(FailureCause cause, boolean doUpdate)
Does not update the cache, used when we know we will have a lot of save/add calls all at once, e.g.abstract FailureCause
KnowledgeBase. getCause(String id)
Get the cause with the given id.FailureCause
LocalFileKnowledgeBase. getCause(String id)
FailureCause
MongoDBKnowledgeBase. getCause(String id)
abstract FailureCause
KnowledgeBase. removeCause(String id)
Removes the cause from the knowledge base.FailureCause
LocalFileKnowledgeBase. removeCause(String id)
FailureCause
MongoDBKnowledgeBase. removeCause(String id)
abstract FailureCause
KnowledgeBase. saveCause(FailureCause cause)
Saves a cause to the db.FailureCause
LocalFileKnowledgeBase. saveCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. saveCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. saveCause(FailureCause cause, boolean doUpdate)
Does not update the cache, used when we know we will have a lot of save/add calls all at once, e.g.Methods in com.sonyericsson.jenkins.plugins.bfa.db that return types with arguments of type FailureCause Modifier and Type Method Description abstract Collection<FailureCause>
KnowledgeBase. getCauseNames()
Get the list of theFailureCause
's names and ids.Collection<FailureCause>
LocalFileKnowledgeBase. getCauseNames()
Collection<FailureCause>
MongoDBKnowledgeBase. getCauseNames()
abstract Collection<FailureCause>
KnowledgeBase. getCauses()
Get the list ofFailureCause
s.Collection<FailureCause>
LocalFileKnowledgeBase. getCauses()
Collection<FailureCause>
MongoDBKnowledgeBase. getCauses()
List<FailureCause>
MongoDBKnowledgeBaseCache. getCauses()
Getter for the cachedFailureCauses.protected List<FailureCause>
MongoDBKnowledgeBase. getRemovedCauses()
Gets all causes flagged as removed in a "raw" JSON format.abstract Collection<FailureCause>
KnowledgeBase. getShallowCauses()
Get a shallow list of theFailureCause
s.Collection<FailureCause>
LocalFileKnowledgeBase. getShallowCauses()
Collection<FailureCause>
MongoDBKnowledgeBase. getShallowCauses()
Methods in com.sonyericsson.jenkins.plugins.bfa.db with parameters of type FailureCause Modifier and Type Method Description abstract FailureCause
KnowledgeBase. addCause(FailureCause cause)
Saves a new cause to the db and generates a new id for the cause.FailureCause
LocalFileKnowledgeBase. addCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. addCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. addCause(FailureCause cause, boolean doUpdate)
Does not update the cache, used when we know we will have a lot of save/add calls all at once, e.g.protected void
LocalFileKnowledgeBase. put(FailureCause cause)
Puts the cause directly into the map.abstract FailureCause
KnowledgeBase. saveCause(FailureCause cause)
Saves a cause to the db.FailureCause
LocalFileKnowledgeBase. saveCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. saveCause(FailureCause cause)
FailureCause
MongoDBKnowledgeBase. saveCause(FailureCause cause, boolean doUpdate)
Does not update the cache, used when we know we will have a lot of save/add calls all at once, e.g.Constructor parameters in com.sonyericsson.jenkins.plugins.bfa.db with type arguments of type FailureCause Constructor Description LocalFileKnowledgeBase(CopyOnWriteList<FailureCause> legacyCauses)
Standard constructor.LocalFileKnowledgeBase(Collection<FailureCause> initialCauses)
Standard constructor.MongoDBKnowledgeBaseCache(org.mongojack.JacksonMongoCollection<FailureCause> jacksonCollection)
Standard constructor. -
Uses of FailureCause in com.sonyericsson.jenkins.plugins.bfa.model
Method parameters in com.sonyericsson.jenkins.plugins.bfa.model with type arguments of type FailureCause Modifier and Type Method Description static List<FoundFailureCause>
FailureReader. scanSingleLinePatterns(List<FailureCause> causes, Run build, BufferedReader reader, String currentFile)
Checks all patterns one-by-one for entire file.Constructors in com.sonyericsson.jenkins.plugins.bfa.model with parameters of type FailureCause Constructor Description FoundFailureCause(FailureCause originalCause)
Constructor used when converting old failureCauses to foundFailureCauses.FoundFailureCause(FailureCause originalCause, List<FoundIndication> indications)
Standard constructor. -
Uses of FailureCause in com.sonyericsson.jenkins.plugins.bfa.statistics
Constructor parameters in com.sonyericsson.jenkins.plugins.bfa.statistics with type arguments of type FailureCause Constructor Description FailureCauseStatistics(org.mongojack.DBRef<FailureCause,?> failureCause, List<FoundIndication> indications)
JSON constructor.
-