本文整理汇总了Java中com.atlassian.plugin.PluginException类的典型用法代码示例。如果您正苦于以下问题:Java PluginException类的具体用法?Java PluginException怎么用?Java PluginException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PluginException类属于com.atlassian.plugin包,在下文中一共展示了PluginException类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: waitForAO
import com.atlassian.plugin.PluginException; //导入依赖的package包/类
/**
* Wait until AO is fully accessible.
*/
private boolean waitForAO()
{
int countOfRetry = 15;
do
{
try
{
log.debug("Attempting to wait for AO.");
activeObjects.count(MessageMapping.class);
log.debug("Attempting to wait for AO - DONE.");
stop = true;
return true;
}
catch (PluginException e)
{
countOfRetry--;
try
{
Thread.sleep(5000);
}
catch (InterruptedException ie)
{
// nothing to do
}
}
}
while (countOfRetry > 0 && !stop);
log.debug("Attempting to wait for AO - UNSUCCESSFUL.");
return false;
}
示例2: disable
import com.atlassian.plugin.PluginException; //导入依赖的package包/类
@Override
public void disable() throws PluginException {
}
示例3: enable
import com.atlassian.plugin.PluginException; //导入依赖的package包/类
@Override
public void enable() throws PluginException {
}
示例4: install
import com.atlassian.plugin.PluginException; //导入依赖的package包/类
@Override
public void install() throws PluginException {
}
示例5: uninstall
import com.atlassian.plugin.PluginException; //导入依赖的package包/类
@Override
public void uninstall() throws PluginException {
}