com.atlassian.jira.appconsistency.integrity.integritycheck
Class AbstractIntegrityCheck

java.lang.Object
  extended bycom.atlassian.jira.appconsistency.integrity.integritycheck.AbstractIntegrityCheck
All Implemented Interfaces:
java.lang.Comparable, IntegrityCheck
Direct Known Subclasses:
EntityIntegrityCheckImpl, IntegrityCheckImpl, IssueIntegrityCheck

public abstract class AbstractIntegrityCheck
extends java.lang.Object
implements IntegrityCheck, java.lang.Comparable


Constructor Summary
protected AbstractIntegrityCheck(java.lang.Long id, java.lang.String description)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
abstract  java.util.List getChecks()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 boolean isAvailable()
          Determines if AT LEAST ONE check is available
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIntegrityCheck

protected AbstractIntegrityCheck(java.lang.Long id,
                                 java.lang.String description)
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface IntegrityCheck

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IntegrityCheck

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

isAvailable

public boolean isAvailable()
Determines if AT LEAST ONE check is available

Specified by:
isAvailable in interface IntegrityCheck
Returns:

getChecks

public abstract java.util.List getChecks()
Specified by:
getChecks in interface IntegrityCheck


Copyright © 2002-2005 Atlassian. All Rights Reserved.