Class AbstractDescriptor
java.lang.Object
de.espirit.firstspirit.module.descriptor.AbstractDescriptor
- All Implemented Interfaces:
Descriptor
,Serializable
- Direct Known Subclasses:
LibraryDescriptor
,ModuleDescriptor
,ProjectAppDescriptor
,PublicClassDescriptor
,ServiceDescriptor
,WebAppDescriptor
,WebServerDescriptor
Internal base implementation of descriptor classes.
- Since:
- 5.2.240501
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A resource available on the Java classpath (e.g. a JAR file) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionImplementsComponentDescriptor.getComponentClass()
@Nullable String
Returns configuration string.ImplementsComponentDescriptor.getConfigurationClass()
Returns a module or component description.Returns the module or component displayname.@NotNull String
ImplementsComponentDescriptor.getModuleName()
getName()
Returns the module or component identifier.@NotNull AbstractDescriptor.ResourceDescriptor[]
ImplementsComponentDescriptor.getResources()
Returns module or component version.boolean
isHidden()
ImplementsComponentDescriptor.isHidden()
boolean
ImplementsComponentDescriptor.isUnknown()
final String
toString()
-
Constructor Details
-
AbstractDescriptor
public AbstractDescriptor()
-
-
Method Details
-
isUnknown
public boolean isUnknown()ImplementsComponentDescriptor.isUnknown()
- Since:
- 5.2.240501
-
isHidden
public boolean isHidden()ImplementsComponentDescriptor.isHidden()
- Since:
- 5.2.240501
-
getConfigurationClass
ImplementsComponentDescriptor.getConfigurationClass()
- Since:
- 5.2.240501
-
getComponentClass
ImplementsComponentDescriptor.getComponentClass()
- Since:
- 5.2.240501
-
getDescription
Description copied from interface:Descriptor
Returns a module or component description.- Specified by:
getDescription
in interfaceDescriptor
- Returns:
- module or component description.
-
getName
Description copied from interface:Descriptor
Returns the module or component identifier.- Specified by:
getName
in interfaceDescriptor
- Returns:
- module or component identifier.
-
getDisplayName
Description copied from interface:Descriptor
Returns the module or component displayname.- Specified by:
getDisplayName
in interfaceDescriptor
- Returns:
- module or component displayname.
-
getModuleName
ImplementsComponentDescriptor.getModuleName()
- Since:
- 5.2.240501
-
getVersion
Description copied from interface:Descriptor
Returns module or component version.- Specified by:
getVersion
in interfaceDescriptor
- Returns:
- module or component version.
-
getResources
ImplementsComponentDescriptor.getResources()
- Since:
- 5.2.240501
-
getConfiguration
Description copied from interface:Descriptor
Returns configuration string.- Specified by:
getConfiguration
in interfaceDescriptor
-
toString
-