@ApplicationScoped public class ExamplesServiceImpl extends Object implements ExamplesService
EXAMPLES_SYSTEM_PROPERTY| Constructor and Description |
|---|
ExamplesServiceImpl() |
ExamplesServiceImpl(org.uberfire.io.IOService ioService,
org.guvnor.structure.server.config.ConfigurationFactory configurationFactory,
org.guvnor.structure.server.repositories.RepositoryFactory repositoryFactory,
KieProjectService projectService,
org.guvnor.structure.repositories.RepositoryService repositoryService,
org.guvnor.structure.organizationalunit.OrganizationalUnitService ouService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService,
javax.enterprise.event.Event<org.guvnor.common.services.project.events.NewProjectEvent> newProjectEvent,
org.uberfire.rpc.SessionInfo sessionInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
ExamplesMetaData |
getMetaData() |
ExampleRepository |
getPlaygroundRepository() |
Set<ExampleProject> |
getProjects(ExampleRepository repository) |
void |
initPlaygroundRepository() |
int |
priority() |
org.guvnor.common.services.project.context.ProjectContextChangeEvent |
setupExamples(ExampleOrganizationalUnit exampleTargetOU,
ExampleTargetRepository exampleTarget,
String branch,
List<ExampleProject> exampleProjects) |
boolean |
validateRepositoryName(String name) |
public ExamplesServiceImpl()
@Inject
public ExamplesServiceImpl(@Named(value="ioStrategy")
org.uberfire.io.IOService ioService,
org.guvnor.structure.server.config.ConfigurationFactory configurationFactory,
org.guvnor.structure.server.repositories.RepositoryFactory repositoryFactory,
KieProjectService projectService,
org.guvnor.structure.repositories.RepositoryService repositoryService,
org.guvnor.structure.organizationalunit.OrganizationalUnitService ouService,
org.guvnor.common.services.shared.metadata.MetadataService metadataService,
javax.enterprise.event.Event<org.guvnor.common.services.project.events.NewProjectEvent> newProjectEvent,
org.uberfire.rpc.SessionInfo sessionInfo)
@PostConstruct public void initPlaygroundRepository()
public ExamplesMetaData getMetaData()
getMetaData in interface ExamplesServicepublic ExampleRepository getPlaygroundRepository()
getPlaygroundRepository in interface ExamplesServicepublic Set<ExampleProject> getProjects(ExampleRepository repository)
getProjects in interface ExamplesServicepublic boolean validateRepositoryName(String name)
validateRepositoryName in interface ExamplesServicepublic org.guvnor.common.services.project.context.ProjectContextChangeEvent setupExamples(ExampleOrganizationalUnit exampleTargetOU, ExampleTargetRepository exampleTarget, String branch, List<ExampleProject> exampleProjects)
setupExamples in interface ExamplesServicepublic int priority()
priority in interface org.uberfire.commons.lifecycle.PriorityDisposablepublic void dispose()
dispose in interface org.uberfire.commons.lifecycle.DisposableCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.