com.atlassian.jira.web.action.admin
Class SchedulerAdmin.JobRunnerWrapper

java.lang.Object
  extended by com.atlassian.jira.web.action.admin.SchedulerAdmin.JobRunnerWrapper
All Implemented Interfaces:
Comparable<SchedulerAdmin.JobRunnerWrapper>
Enclosing class:
SchedulerAdmin

public class SchedulerAdmin.JobRunnerWrapper
extends Object
implements Comparable<SchedulerAdmin.JobRunnerWrapper>


Constructor Summary
SchedulerAdmin.JobRunnerWrapper(com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey)
           
 
Method Summary
 int compareTo(SchedulerAdmin.JobRunnerWrapper o)
           
protected  int countNumberOfFailedJobs(List<SchedulerAdmin.JobDetailsWrapper> jobs)
           
 List<SchedulerAdmin.JobDetailsWrapper> getJobs()
           
 com.atlassian.scheduler.config.JobRunnerKey getKey()
           
 int getNumberOfFailedJobs()
           
 int getNumberOfSuccessfulJobs()
           
 TreeSet<String> getSchedule()
           
 String getStatusIcon()
           
 boolean isRemoveable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerAdmin.JobRunnerWrapper

public SchedulerAdmin.JobRunnerWrapper(com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey)
Method Detail

countNumberOfFailedJobs

protected int countNumberOfFailedJobs(List<SchedulerAdmin.JobDetailsWrapper> jobs)

getSchedule

@Nonnull
public TreeSet<String> getSchedule()

getKey

@Nonnull
public com.atlassian.scheduler.config.JobRunnerKey getKey()

getJobs

@Nonnull
public List<SchedulerAdmin.JobDetailsWrapper> getJobs()

getNumberOfSuccessfulJobs

public int getNumberOfSuccessfulJobs()

getNumberOfFailedJobs

public int getNumberOfFailedJobs()

getStatusIcon

@Nonnull
public String getStatusIcon()

isRemoveable

public boolean isRemoveable()

compareTo

public int compareTo(SchedulerAdmin.JobRunnerWrapper o)
Specified by:
compareTo in interface Comparable<SchedulerAdmin.JobRunnerWrapper>


Copyright © 2002-2014 Atlassian. All Rights Reserved.