com.atlassian.bamboo.resultsummary
Class ResultsSummaryDiscriminatorRegistry

java.lang.Object
  extended by com.atlassian.bamboo.persistence3.AbstractDiscriminatorRegistry<ResultsSummary,AbstractResultsSummary>
      extended by com.atlassian.bamboo.resultsummary.ResultsSummaryDiscriminatorRegistry

public final class ResultsSummaryDiscriminatorRegistry
extends AbstractDiscriminatorRegistry<ResultsSummary,AbstractResultsSummary>

Registry for all the discriminators for ResultsSummary'ies


Constructor Summary
ResultsSummaryDiscriminatorRegistry(bucket.core.persistence.hibernate.schema.SchemaHelper schemaHelper)
           
 
Method Summary
protected  java.lang.Class<AbstractResultsSummary> getBaseClass()
           
 java.lang.Class<? extends AbstractResultsSummary> getConcreteType(java.lang.Class<? extends ResultsSummary> aClass)
           
<T extends ImmutablePlan>
java.util.Set<java.lang.String>
getDiscriminatorsForPlanType(java.lang.Class<T> planType)
           
 
Methods inherited from class com.atlassian.bamboo.persistence3.AbstractDiscriminatorRegistry
getDiscriminatorForType, getDiscriminatorsForType, getTypeForDiscriminator, isConcretelyMappedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsSummaryDiscriminatorRegistry

public ResultsSummaryDiscriminatorRegistry(bucket.core.persistence.hibernate.schema.SchemaHelper schemaHelper)
                                    throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException
Method Detail

getBaseClass

protected java.lang.Class<AbstractResultsSummary> getBaseClass()
Specified by:
getBaseClass in class AbstractDiscriminatorRegistry<ResultsSummary,AbstractResultsSummary>

getDiscriminatorsForPlanType

public <T extends ImmutablePlan> java.util.Set<java.lang.String> getDiscriminatorsForPlanType(java.lang.Class<T> planType)

getConcreteType

public java.lang.Class<? extends AbstractResultsSummary> getConcreteType(java.lang.Class<? extends ResultsSummary> aClass)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.