|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lastbamboo.common.download.MoverDState.VisitorAdapter<T,DelegateStateT>
T - The type of this visitor's return value.DelegateStateT - The type of delegate state held in the mover
state.public abstract static class MoverDState.VisitorAdapter<T,DelegateStateT>
An adaptor to help implement visitors.
| Constructor Summary | |
|---|---|
MoverDState.VisitorAdapter(T defaultValue)
Constructs a new visitor adapter. |
|
| Method Summary | |
|---|---|
T |
visitDownloading(MoverDState.Downloading<DelegateStateT> state)
Visits a downloading state. |
T |
visitFailed(MoverDState.Failed<DelegateStateT> state)
Visits a failed state. |
T |
visitMoved(MoverDState.Moved<DelegateStateT> state)
Visits a moved state. |
T |
visitMovedToITunes(MoverDState.MovedToITunes<DelegateStateT> state)
Visits a moved to iTunes state. |
T |
visitMoveFailed(MoverDState.MoveFailed<DelegateStateT> state)
Visits a move failed state. |
T |
visitMoving(MoverDState.Moving<DelegateStateT> state)
Visits a moving state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoverDState.VisitorAdapter(T defaultValue)
defaultValue - The default value returned by this visitor.| Method Detail |
|---|
public T visitDownloading(MoverDState.Downloading<DelegateStateT> state)
MoverDState.Visitor
visitDownloading in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
public T visitFailed(MoverDState.Failed<DelegateStateT> state)
MoverDState.Visitor
visitFailed in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
public T visitMoving(MoverDState.Moving<DelegateStateT> state)
MoverDState.Visitor
visitMoving in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
public T visitMoved(MoverDState.Moved<DelegateStateT> state)
MoverDState.Visitor
visitMoved in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
public T visitMovedToITunes(MoverDState.MovedToITunes<DelegateStateT> state)
MoverDState.Visitor
visitMovedToITunes in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
public T visitMoveFailed(MoverDState.MoveFailed<DelegateStateT> state)
MoverDState.Visitor
visitMoveFailed in interface MoverDState.Visitor<T,DelegateStateT>state - The state.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||