com.atlassian.jira.appconsistency.integrity.check
Class SimpleTriggerCheck

java.lang.Object
  extended by com.atlassian.jira.appconsistency.integrity.check.CheckImpl
      extended by com.atlassian.jira.appconsistency.integrity.check.SimpleTriggerCheck
All Implemented Interfaces:
Check

public class SimpleTriggerCheck
extends CheckImpl

Integrity checker to verify that no Quartz SimpleTriggers for subscriptions exist in the database, that are not attached to any subscriptions.

The checker will scan the 'qrtz_triggers' table for simple triggers with a trigger_group matching "SEND_SUBSCRIPTION" without a matching subscription entry.


Field Summary
 
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
id, ofBizDelegator
 
Constructor Summary
SimpleTriggerCheck(OfBizDelegator ofBizDelegator, Long id)
           
 
Method Summary
 List correct()
           
 String getDescription()
           
 String getUnavailableMessage()
           
 boolean isAvailable()
           
 List preview()
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId, getIntegrityCheck, setIntegrityCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTriggerCheck

public SimpleTriggerCheck(OfBizDelegator ofBizDelegator,
                          Long id)
Method Detail

getDescription

public String getDescription()

preview

public List preview()
             throws IntegrityException
Throws:
IntegrityException

correct

public List correct()
             throws IntegrityException
Throws:
IntegrityException

isAvailable

public boolean isAvailable()

getUnavailableMessage

public String getUnavailableMessage()


Copyright © 2002-2007 Atlassian. All Rights Reserved.