Class XmlTypeSpecification
- java.lang.Object
-
- com.xebialabs.xlplatform.synthetic.xml.XmlElement
-
- com.xebialabs.xlplatform.synthetic.xml.XmlBaseTypeSpecification
-
- com.xebialabs.xlplatform.synthetic.xml.XmlTypeSpecification
-
- All Implemented Interfaces:
BaseTypeSpecification,TypeSpecification
public class XmlTypeSpecification extends XmlBaseTypeSpecification implements TypeSpecification
-
-
Field Summary
-
Fields inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlElement
descriptorRegistry, element
-
-
Constructor Summary
Constructors Constructor Description XmlTypeSpecification(com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry descriptorRegistry, org.w3c.dom.Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default java.util.Iterator<org.w3c.dom.Element>childByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)default java.lang.Iterable<org.w3c.dom.Element>childrenByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)default <E> voidforEach(java.util.Iterator<E> iterator, Closure<E> closure)java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type>getContainerType()java.util.Optional<CreatorSpecification>getCreator()java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type>getDeployedType()java.util.Optional<java.lang.String>getDescription()GeneratedDeployableSpecificationgetGeneratedDeployableDescription()TypeSpecificationgetGenerateDeployable()java.util.Optional<java.lang.String>getIcon()java.util.Optional<java.lang.Boolean>getInspectable()java.util.Optional<java.lang.String>getLabel()default java.util.Optional<java.lang.Boolean>getOptionalBoolean(org.w3c.dom.Element element, java.lang.String attributeName)default booleangetOptionalBooleanAttribute(org.w3c.dom.Element element, java.lang.String attributeName, boolean defaultValue)default java.util.Optional<java.lang.String>getOptionalString(org.w3c.dom.Element element, java.lang.String attributeName)default java.lang.StringgetOptionalStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName, java.lang.String defaultValue)default java.util.Optional<java.lang.String>getOptionalTextOfChild(org.w3c.dom.Element element, java.lang.String childElementName)default java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type>getOptionalType(org.w3c.dom.Element element, java.lang.String attributeName)default com.xebialabs.deployit.plugin.api.reflect.TypegetOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)default com.xebialabs.deployit.plugin.api.reflect.TypegetOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName, com.xebialabs.deployit.plugin.api.reflect.Type defaultValue)default java.lang.StringgetRequiredStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName)default com.xebialabs.deployit.plugin.api.reflect.TypegetRequiredTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)java.util.Optional<java.lang.String>getRoot()com.xebialabs.deployit.plugin.api.reflect.TypegetSuperType()booleanhasGenerateDeployable()-
Methods inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlBaseTypeSpecification
getControlTasks, getMethods, getProperties, getType, getValidationRules, getVerifications, getVersioned, getVirtual
-
Methods inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlElement
descriptorRegistry, getElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.xebialabs.xlplatform.synthetic.BaseTypeSpecification
getControlTasks, getMethods, getProperties, getType, getValidationRules, getVerifications, getVersioned, getVirtual
-
-
-
-
Method Detail
-
hasGenerateDeployable
public boolean hasGenerateDeployable()
- Specified by:
hasGenerateDeployablein interfaceTypeSpecification
-
getGenerateDeployable
public TypeSpecification getGenerateDeployable()
- Specified by:
getGenerateDeployablein interfaceTypeSpecification
-
getSuperType
public com.xebialabs.deployit.plugin.api.reflect.Type getSuperType()
- Specified by:
getSuperTypein interfaceTypeSpecification
-
getLabel
public java.util.Optional<java.lang.String> getLabel()
- Specified by:
getLabelin interfaceTypeSpecification
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Specified by:
getDescriptionin interfaceTypeSpecification
-
getInspectable
public java.util.Optional<java.lang.Boolean> getInspectable()
- Specified by:
getInspectablein interfaceTypeSpecification
-
getIcon
public java.util.Optional<java.lang.String> getIcon()
- Specified by:
getIconin interfaceTypeSpecification
-
getRoot
public java.util.Optional<java.lang.String> getRoot()
- Specified by:
getRootin interfaceTypeSpecification
-
getDeployedType
public java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type> getDeployedType()
- Specified by:
getDeployedTypein interfaceTypeSpecification
-
getContainerType
public java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type> getContainerType()
- Specified by:
getContainerTypein interfaceTypeSpecification
-
getGeneratedDeployableDescription
public GeneratedDeployableSpecification getGeneratedDeployableDescription()
- Specified by:
getGeneratedDeployableDescriptionin interfaceTypeSpecification
-
getCreator
public java.util.Optional<CreatorSpecification> getCreator()
- Specified by:
getCreatorin interfaceTypeSpecification
-
getRequiredStringAttribute
public default java.lang.String getRequiredStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getRequiredTypeAttribute
public default com.xebialabs.deployit.plugin.api.reflect.Type getRequiredTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalTypeAttribute
public default com.xebialabs.deployit.plugin.api.reflect.Type getOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName, com.xebialabs.deployit.plugin.api.reflect.Type defaultValue)
-
getOptionalTypeAttribute
public default com.xebialabs.deployit.plugin.api.reflect.Type getOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalType
public default java.util.Optional<com.xebialabs.deployit.plugin.api.reflect.Type> getOptionalType(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalBooleanAttribute
public default boolean getOptionalBooleanAttribute(org.w3c.dom.Element element, java.lang.String attributeName, boolean defaultValue)
-
getOptionalBoolean
public default java.util.Optional<java.lang.Boolean> getOptionalBoolean(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalStringAttribute
public default java.lang.String getOptionalStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName, java.lang.String defaultValue)
-
getOptionalString
public default java.util.Optional<java.lang.String> getOptionalString(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalTextOfChild
public default java.util.Optional<java.lang.String> getOptionalTextOfChild(org.w3c.dom.Element element, java.lang.String childElementName)
-
childrenByName
public default java.lang.Iterable<org.w3c.dom.Element> childrenByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)
-
childByName
public default java.util.Iterator<org.w3c.dom.Element> childByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)
-
forEach
public default <E> void forEach(java.util.Iterator<E> iterator, Closure<E> closure)
-
-