@ApplicationScoped public class GuvnorStructureContext extends Object
| Constructor and Description |
|---|
GuvnorStructureContext() |
GuvnorStructureContext(org.jboss.errai.common.client.api.Caller<RepositoryService> repositoryService) |
| Modifier and Type | Method and Description |
|---|---|
GuvnorStructureContextBranchChangeHandler.HandlerRegistration |
addGuvnorStructureContextBranchChangeHandler(GuvnorStructureContextBranchChangeHandler handler) |
GuvnorStructureContextChangeHandler.HandlerRegistration |
addGuvnorStructureContextChangeHandler(GuvnorStructureContextChangeHandler handler) |
void |
changeBranch(String alias,
String branch) |
String |
getCurrentBranch(String alias) |
void |
getRepositories(org.uberfire.client.callbacks.Callback<Collection<Repository>> callback) |
void |
onNewBranch(NewBranchEvent event) |
void |
onNewRepository(NewRepositoryEvent event) |
void |
onRepositoryRemoved(RepositoryRemovedEvent event) |
void |
removeHandler(GuvnorStructureContextBranchChangeHandler.HandlerRegistration handlerRegistration) |
void |
removeHandler(GuvnorStructureContextChangeHandler.HandlerRegistration handlerRegistration) |
public GuvnorStructureContext()
@Inject public GuvnorStructureContext(org.jboss.errai.common.client.api.Caller<RepositoryService> repositoryService)
public void getRepositories(org.uberfire.client.callbacks.Callback<Collection<Repository>> callback)
public GuvnorStructureContextChangeHandler.HandlerRegistration addGuvnorStructureContextChangeHandler(GuvnorStructureContextChangeHandler handler)
public GuvnorStructureContextBranchChangeHandler.HandlerRegistration addGuvnorStructureContextBranchChangeHandler(GuvnorStructureContextBranchChangeHandler handler)
public void onNewRepository(@Observes
NewRepositoryEvent event)
public void onNewBranch(@Observes
NewBranchEvent event)
public void onRepositoryRemoved(@Observes
RepositoryRemovedEvent event)
public void removeHandler(GuvnorStructureContextChangeHandler.HandlerRegistration handlerRegistration)
public void removeHandler(GuvnorStructureContextBranchChangeHandler.HandlerRegistration handlerRegistration)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.