Modifier and Type | Method and Description |
---|---|
FailureCause |
CauseManagement.getDynamic(String id,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Dynamic Stapler URL binding.
|
Modifier and Type | Method and Description |
---|---|
Iterable<FailureCause> |
CauseManagement.getShallowCauses()
Convenience method for
KnowledgeBase.getShallowCauses() . |
Modifier and Type | Method and Description |
---|---|
FailureCause |
MongoDBKnowledgeBase.addCause(FailureCause cause) |
FailureCause |
LocalFileKnowledgeBase.addCause(FailureCause cause) |
abstract FailureCause |
KnowledgeBase.addCause(FailureCause cause)
Saves a new cause to the db and generates a new id for the 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.
|
FailureCause |
MongoDBKnowledgeBase.getCause(String id) |
FailureCause |
LocalFileKnowledgeBase.getCause(String id) |
abstract FailureCause |
KnowledgeBase.getCause(String id)
Get the cause with the given id.
|
FailureCause |
MongoDBKnowledgeBase.removeCause(String id) |
FailureCause |
LocalFileKnowledgeBase.removeCause(String id) |
abstract FailureCause |
KnowledgeBase.removeCause(String id)
Removes the cause from the knowledge base.
|
FailureCause |
MongoDBKnowledgeBase.saveCause(FailureCause cause) |
FailureCause |
LocalFileKnowledgeBase.saveCause(FailureCause cause) |
abstract FailureCause |
KnowledgeBase.saveCause(FailureCause cause)
Saves a cause to the db.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<FailureCause> |
MongoDBKnowledgeBase.getCauseNames() |
Collection<FailureCause> |
LocalFileKnowledgeBase.getCauseNames() |
abstract Collection<FailureCause> |
KnowledgeBase.getCauseNames()
Get the list of the
FailureCause 's names and ids. |
List<FailureCause> |
MongoDBKnowledgeBaseCache.getCauses()
Getter for the cachedFailureCauses.
|
Collection<FailureCause> |
MongoDBKnowledgeBase.getCauses() |
Collection<FailureCause> |
LocalFileKnowledgeBase.getCauses() |
abstract Collection<FailureCause> |
KnowledgeBase.getCauses()
Get the list of
FailureCause s. |
protected List<FailureCause> |
MongoDBKnowledgeBase.getRemovedCauses()
Gets all causes flagged as removed in a "raw" JSON format.
|
Collection<FailureCause> |
MongoDBKnowledgeBase.getShallowCauses() |
Collection<FailureCause> |
LocalFileKnowledgeBase.getShallowCauses() |
abstract Collection<FailureCause> |
KnowledgeBase.getShallowCauses()
Get a shallow list of the
FailureCause s. |
Modifier and Type | Method and Description |
---|---|
FailureCause |
MongoDBKnowledgeBase.addCause(FailureCause cause) |
FailureCause |
LocalFileKnowledgeBase.addCause(FailureCause cause) |
abstract FailureCause |
KnowledgeBase.addCause(FailureCause cause)
Saves a new cause to the db and generates a new id for the 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.
|
FailureCause |
MongoDBKnowledgeBase.saveCause(FailureCause cause) |
FailureCause |
LocalFileKnowledgeBase.saveCause(FailureCause cause) |
abstract FailureCause |
KnowledgeBase.saveCause(FailureCause cause)
Saves a cause to the db.
|
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 and Description |
---|
LocalFileKnowledgeBase(Collection<FailureCause> initialCauses)
Standard constructor.
|
LocalFileKnowledgeBase(hudson.util.CopyOnWriteList<FailureCause> legacyCauses)
Standard constructor.
|
MongoDBKnowledgeBaseCache(org.mongojack.JacksonMongoCollection<FailureCause> jacksonCollection)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
static List<FoundFailureCause> |
FailureReader.scanSingleLinePatterns(List<FailureCause> causes,
hudson.model.Run build,
BufferedReader reader,
String currentFile)
Checks all patterns one-by-one for entire file.
|
Constructor and Description |
---|
FoundFailureCause(FailureCause originalCause)
Constructor used when converting old failureCauses to foundFailureCauses.
|
FoundFailureCause(FailureCause originalCause,
List<FoundIndication> indications)
Standard constructor.
|
Constructor and Description |
---|
FailureCauseStatistics(org.mongojack.DBRef<FailureCause,?> failureCause,
List<FoundIndication> indications)
JSON constructor.
|
Copyright © 2016–2020. All rights reserved.