com.ning.billing.subscription.events.phase
Class PhaseEventData

java.lang.Object
  extended by com.ning.billing.subscription.events.EventBase
      extended by com.ning.billing.subscription.events.phase.PhaseEventData
All Implemented Interfaces:
PhaseEvent, SubscriptionBaseEvent, Entity, Comparable<SubscriptionBaseEvent>

public class PhaseEventData
extends EventBase
implements PhaseEvent


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ning.billing.subscription.events.SubscriptionBaseEvent
SubscriptionBaseEvent.EventType
 
Constructor Summary
PhaseEventData(PhaseEventBuilder builder)
           
 
Method Summary
static PhaseEvent createNextPhaseEvent(String phaseName, DefaultSubscriptionBase subscription, org.joda.time.DateTime now, org.joda.time.DateTime effectiveDate)
           
 String getPhase()
           
 SubscriptionBaseEvent.EventType getType()
           
 String toString()
           
 
Methods inherited from class com.ning.billing.subscription.events.EventBase
compareTo, deactivate, equals, getActiveVersion, getCreatedDate, getEffectiveDate, getId, getProcessedDate, getRequestedDate, getSubscriptionId, getTotalOrdering, getUpdatedDate, isActive, reactivate, setActiveVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ning.billing.subscription.events.SubscriptionBaseEvent
deactivate, getActiveVersion, getEffectiveDate, getProcessedDate, getRequestedDate, getSubscriptionId, getTotalOrdering, isActive, reactivate, setActiveVersion
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.ning.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
 

Constructor Detail

PhaseEventData

public PhaseEventData(PhaseEventBuilder builder)
Method Detail

getType

public SubscriptionBaseEvent.EventType getType()
Specified by:
getType in interface SubscriptionBaseEvent
Specified by:
getType in class EventBase

getPhase

public String getPhase()
Specified by:
getPhase in interface PhaseEvent

toString

public String toString()
Overrides:
toString in class Object

createNextPhaseEvent

public static PhaseEvent createNextPhaseEvent(String phaseName,
                                              DefaultSubscriptionBase subscription,
                                              org.joda.time.DateTime now,
                                              org.joda.time.DateTime effectiveDate)


Copyright © 2010-2013. All Rights Reserved.