Class StashErrorDetailsViewerCondition
java.lang.Object
com.atlassian.bamboo.plugins.stash.StashErrorDetailsViewerCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class StashErrorDetailsViewerCondition
extends Object
implements com.atlassian.plugin.web.Condition
Decides if ErrorDetails are related to Stash repository.
Following checks are performed:
- are ErrorDetails build specific
- do ThrowableDetails exist
- do ThrowableDetails contain trace of StashRepositoryException
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StashErrorDetailsViewerCondition
public StashErrorDetailsViewerCondition()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-