public interface IEntity extends ISettingsMap
IEntity
interface lets you access a given entity or dag resources.
Both are very similar. Hence the name entity.Modifier and Type | Method and Description |
---|---|
IApplication |
getApplication(String name) |
IApplication |
getApplicationForCluster(String name,
String cluster)
Return the a given application
|
Collection<IApplication> |
getApplications() |
List<IApplication> |
getApplications(String namePattern) |
List<IApplication> |
getApplicationsForCluster(String namePattern,
String clusterPattern) |
int |
getApplicationSize() |
List<String> |
getApplicationsName() |
String |
getHash()
Compute and return the entity hash based on entity content
|
Collection<ITopic> |
getKafkaTopics() |
int |
getMajorVersion() |
int |
getMinorVersion() |
String |
getName() |
Path |
getPath() |
String |
getRoot() |
ISettingsMap |
getStructure() |
ITenant |
getTenant() |
String |
getType() |
String |
getUUID() |
String |
getVersion() |
default boolean |
isBook() |
default boolean |
isChannel() |
boolean |
isStartableByTenant() |
boolean |
isStoppableByTenant() |
asFlatValuesMap, asFlatValuesMap, asFlatValuesMapIgnoreSettingsList, asHjsonString, asJsonString, asJsonString, asKvString, asListFlatValuesMapIgnoreSettingsList, asYamlString, childAsJson, childAsListOfString, childAsMapEntries, childAsMapValues, childAsRawContent, childAsRequiredListOfString, childAsRequiredString, childAsString, childAsStringContent, childAsTarGz, childFileAsMap, childIsDir, childIsFile, getAsBoolean, getAsBoolean, getAsDouble, getAsInteger, getAsInteger, getAsIsoDateTime, getAsLong, getAsLong, getAsMsDuration, getAsRequiredBoolean, getAsRequiredDouble, getAsRequiredInteger, getAsRequiredIsoDateTime, getAsRequiredLong, getAsRequiredObject, getAsRequiredObjectOfClass, getAsRequiredSettingsList, getAsRequiredSettingsMap, getAsRequiredString, getAsRequiredTimeValue, getAsRequiredZonedDateTime, getAsSettingsList, getAsSettingsList, getAsSettingsListOrEmpty, getAsSettingsMap, getAsSettingsMap, getAsString, getAsString, getAsTimeValue, getCreateAsListOfMap, getCreateMap, getDeepCopy, getMapOrEmpty, getNestedProperty, getOrCreateNestedSettingsMap, getOriginatorName, getRequiredNestedProperty, getStringOrFail, getStringOrFail, getTimeValueMs, overrideWith, putUsingDottedPath, putUsingSlashPath, removeUsingDottedPath, removeUsingSlashPath, setNestedProperty, setOriginatorName, setPropertyIfMissing
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
default boolean isBook()
default boolean isChannel()
String getName()
ITenant getTenant()
String getHash()
ISettingsMap getStructure() throws ConfigurationException
ConfigurationException
Collection<IApplication> getApplications() throws ConfigurationException
ConfigurationException
List<IApplication> getApplications(String namePattern) throws ConfigurationException
namePattern
- the job name pattern (using '*' as wildcard)ConfigurationException
IApplication getApplicationForCluster(String name, String cluster) throws ConfigurationException
name
- the application namecluster
- the associated clusterConfigurationException
List<IApplication> getApplicationsForCluster(String namePattern, String clusterPattern) throws ConfigurationException
namePattern
- either an exact job name or a pattern using '*' as wildcardclusterPattern
- cluster either an exact cluster name or a pattern using '*' as wildcardConfigurationException
Collection<ITopic> getKafkaTopics() throws ConfigurationException
ConfigurationException
int getApplicationSize() throws ConfigurationException
ConfigurationException
String getVersion() throws ConfigurationException
ConfigurationException
int getMajorVersion() throws ConfigurationException
ConfigurationException
int getMinorVersion() throws ConfigurationException
ConfigurationException
Path getPath()
boolean isStartableByTenant() throws ConfigurationException
ConfigurationException
boolean isStoppableByTenant() throws ConfigurationException
ConfigurationException
String getType()
String getRoot()
String getUUID()
List<String> getApplicationsName() throws ConfigurationException
ConfigurationException
IApplication getApplication(String name) throws ConfigurationException
ConfigurationException
Copyright © 2014–2023. All rights reserved.