Package org.jboss.as.controller
Interface SubsystemSchema<S extends SubsystemSchema<S>>
-
- Type Parameters:
S- the schema type
- All Superinterfaces:
Feature,FeatureFilter,FeatureRegistry,IntVersionSchema<S>,Schema,org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,S>,VersionedFeature<org.jboss.staxmapper.IntVersion,S>,VersionedSchema<org.jboss.staxmapper.IntVersion,S>,org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>,XMLElementSchema<S,List<org.jboss.dmr.ModelNode>>
- All Known Subinterfaces:
PersistentSubsystemSchema<S>
public interface SubsystemSchema<S extends SubsystemSchema<S>> extends XMLElementSchema<S,List<org.jboss.dmr.ModelNode>>
Defines a versioned schema for a subsystem.- Author:
- Paul Ferraro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.xml.IntVersionSchema
IntVersionSchema.IntVersionFormatter
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.controller.xml.IntVersionSchema
JBOSS_IDENTIFIER, MAJOR, MAJOR_MINOR, MAJOR_MINOR_MICRO, WILDFLY_IDENTIFIER
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static <S extends SubsystemSchema<S>>
VersionedNamespace<org.jboss.staxmapper.IntVersion,S>createLegacySubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.static <S extends SubsystemSchema<S>>
VersionedNamespace<org.jboss.staxmapper.IntVersion,S>createLegacySubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.static <S extends SubsystemSchema<S>>
VersionedNamespace<org.jboss.staxmapper.IntVersion,S>createSubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.static <S extends SubsystemSchema<S>>
VersionedNamespace<org.jboss.staxmapper.IntVersion,S>createSubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.default StringgetLocalName()Returns the local name of this attribute/element.-
Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
Methods inherited from interface org.jboss.as.controller.xml.Schema
getQualifiedName
-
Methods inherited from interface org.jboss.as.controller.xml.VersionedFeature
since
-
Methods inherited from interface org.jboss.as.controller.xml.VersionedSchema
getNamespace, getStability, getVersion
-
-
-
-
Method Detail
-
getLocalName
default String getLocalName()
Description copied from interface:SchemaReturns the local name of this attribute/element.- Specified by:
getLocalNamein interfaceSchema- Returns:
- the local name of this attribute/element.
-
createSubsystemURN
static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createSubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)
Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.- Type Parameters:
S- the schema type- Parameters:
subsystemName- the subsystem nameversion- the schema version- Returns:
- a versioned namespace
-
createSubsystemURN
static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createSubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)
Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.- Type Parameters:
S- the schema type- Parameters:
subsystemName- the subsystem namestability- the stability level of this schema version variantversion- the schema version- Returns:
- a versioned namespace
-
createLegacySubsystemURN
static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createLegacySubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)
Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.- Type Parameters:
S- the schema type- Parameters:
subsystemName- the subsystem nameversion- the schema version- Returns:
- a versioned namespace
-
createLegacySubsystemURN
static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createLegacySubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)
Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor()for the specified subsystem name and version.- Type Parameters:
S- the schema type- Parameters:
subsystemName- the subsystem namestability- the stability level of this schema version variantversion- the schema version- Returns:
- a versioned namespace
-
-