com.atlassian.bamboo.plugins.stash
Class StashErrorDetailsViewerCondition

java.lang.Object
  extended by com.atlassian.bamboo.plugins.stash.StashErrorDetailsViewerCondition
All Implemented Interfaces:
com.atlassian.plugin.web.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
StashErrorDetailsViewerCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 boolean shouldDisplay(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StashErrorDetailsViewerCondition

public StashErrorDetailsViewerCondition()
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Throws:
com.atlassian.plugin.PluginParseException

shouldDisplay

public boolean shouldDisplay(Map<String,Object> context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.