com.atlassian.jira.service
Interface JiraServiceContainer

All Superinterfaces:
JiraService, ObjectConfigurable, java.lang.Runnable
All Known Implementing Classes:
JiraServiceContainerImpl, UnloadableJiraServiceContainer

public interface JiraServiceContainer
extends JiraService

Proxies calls to JiraService & manages delay between calls.


Field Summary
 
Fields inherited from interface com.atlassian.jira.service.JiraService
NAME_COMPARATOR
 
Method Summary
 long getDelay()
           
 java.lang.Long getId()
           
 long getLastRun()
           
 java.lang.String getServiceClass()
           
 boolean isDueAt(long time)
          Is this service due to run at the specified time.
 boolean isRunning()
           
 boolean isUsable()
           
 void setDelay(long delay)
           
 void setLastRun()
          Record when run.
 
Methods inherited from interface com.atlassian.jira.service.JiraService
destroy, getDescription, getName, init, isInternal, isUnique, run, setName
 
Methods inherited from interface com.atlassian.configurable.ObjectConfigurable
getDefaultProperty, getKey, getLongProperty, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty
 

Method Detail

getId

java.lang.Long getId()

getDelay

long getDelay()

setDelay

void setDelay(long delay)

getLastRun

long getLastRun()

setLastRun

void setLastRun()
Record when run.


isDueAt

boolean isDueAt(long time)
Is this service due to run at the specified time.

Parameters:
time - the time to check whether it is due.
Returns:
true if due.

isRunning

boolean isRunning()

getServiceClass

java.lang.String getServiceClass()

isUsable

boolean isUsable()


Copyright © 2002-2011 Atlassian. All Rights Reserved.