@Service(value=ArchetypeService.class) public class ArchetypeServiceImpl extends Object implements ArchetypeService
| Modifier and Type | Field and Description |
|---|---|
static ObjectName |
OBJECT_NAME |
| Constructor and Description |
|---|
ArchetypeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Archetype |
getArchetype(String gav)
Returns
Archetype by it's groupId:artifactId:version |
Archetype |
getArchetypeByArtifact(String artifactId)
Returns
Archetype by it's artifactId |
List<String[]> |
listArchetypeGAVs()
Returs list of available archetypes in the form of
groupId:artifactId:version |
Collection<Archetype> |
listArchetypes()
Returns list of available
Archetypes |
List<Archetype> |
listArchetypes(String filter,
boolean artifactIdOnly)
Returns list of available
Archetypes |
public static ObjectName OBJECT_NAME
public List<String[]> listArchetypeGAVs()
ArchetypeServiceMXBeangroupId:artifactId:versionlistArchetypeGAVs in interface ArchetypeServiceMXBeanpublic Collection<Archetype> listArchetypes()
ArchetypeServiceArchetypeslistArchetypes in interface ArchetypeServicepublic List<Archetype> listArchetypes(String filter, boolean artifactIdOnly)
ArchetypeServiceArchetypeslistArchetypes in interface ArchetypeServicefilter - filter text to use in filterartifactIdOnly - whether to filter using the artifactId onlypublic Archetype getArchetype(String gav)
ArchetypeServiceArchetype by it's groupId:artifactId:versiongetArchetype in interface ArchetypeServicepublic Archetype getArchetypeByArtifact(String artifactId)
ArchetypeServiceArchetype by it's artifactIdgetArchetypeByArtifact in interface ArchetypeServiceCopyright © 2011–2015 Red Hat. All rights reserved.