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

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

public abstract class AbstractIntegrityCheck
extends Object
implements IntegrityCheck, Comparable


Constructor Summary
protected AbstractIntegrityCheck(Long id, String description)
           
 
Method Summary
 int compareTo(Object o)
           
abstract  List getChecks()
           
 String getDescription()
           
 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(Long id,
                                 String description)
Method Detail

getId

public Long getId()
Specified by:
getId in interface IntegrityCheck

getDescription

public String getDescription()
Specified by:
getDescription in interface IntegrityCheck

compareTo

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

isAvailable

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

Specified by:
isAvailable in interface IntegrityCheck

getChecks

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


Copyright © 2002-2009 Atlassian. All Rights Reserved.