Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.nav.client.local
Class TransitionToRole<U extends UniquePageRole>

java.lang.Object
  extended by org.jboss.errai.ui.nav.client.local.TransitionToRole<U>
Type Parameters:
U - The type of UniquePageRole that this transition navigates to.

public final class TransitionToRole<U extends UniquePageRole>
extends Object

This class works like a TransitionTo but where the target is a UniquePageRole. By injecting and instance of this class you declare a compile-time dependency on the existence of a Page with the UniquePageRole of type U.

Author:
Max Barkley

Constructor Summary
TransitionToRole(Class<U> uniquePageRole)
           
 
Method Summary
 void go()
           
 Class<U> toUniquePageRole()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionToRole

public TransitionToRole(Class<U> uniquePageRole)
Method Detail

go

public void go()

toUniquePageRole

public Class<U> toUniquePageRole()

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.