本文整理匯總了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 {
}