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

java.lang.Object
  extended by com.atlassian.jira.appconsistency.integrity.check.AbstractAmendment
      extended by com.atlassian.jira.appconsistency.integrity.check.DeleteTriggerAmendmentImpl
All Implemented Interfaces:
Amendment

public class DeleteTriggerAmendmentImpl
extends AbstractAmendment

A integrity checker amendment useful for deleting SimpleTriggers.


Field Summary
 
Fields inherited from interface com.atlassian.jira.appconsistency.integrity.amendment.Amendment
CORRECTION, ERROR, UNFIXABLE_ERROR
 
Constructor Summary
DeleteTriggerAmendmentImpl(int type, String message, org.quartz.SimpleTrigger entity)
           
 
Method Summary
 boolean equals(Object o)
          Two DeleteTriggerAmendments are equal if they are the same trigger.
 org.quartz.SimpleTrigger getEntity()
           
 int hashCode()
           
 void setEntity(org.quartz.SimpleTrigger entity)
           
 
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.AbstractAmendment
getBugId, getMessage, getType, isCorrection, isError, isValidType, isWarning, setBugId, setMessage, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteTriggerAmendmentImpl

public DeleteTriggerAmendmentImpl(int type,
                                  String message,
                                  org.quartz.SimpleTrigger entity)
Method Detail

getEntity

public org.quartz.SimpleTrigger getEntity()

setEntity

public void setEntity(org.quartz.SimpleTrigger entity)

equals

public boolean equals(Object o)
Two DeleteTriggerAmendments are equal if they are the same trigger. (Note: Mainly used for testing).

Overrides:
equals in class AbstractAmendment
Parameters:
o -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractAmendment


Copyright © 2002-2008 Atlassian. All Rights Reserved.