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, setPropertyIfMissingclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesdefault boolean isBook()
default boolean isChannel()
String getName()
ITenant getTenant()
String getHash()
ISettingsMap getStructure() throws ConfigurationException
ConfigurationExceptionCollection<IApplication> getApplications() throws ConfigurationException
ConfigurationExceptionList<IApplication> getApplications(String namePattern) throws ConfigurationException
namePattern - the job name pattern (using '*' as wildcard)ConfigurationExceptionIApplication getApplicationForCluster(String name, String cluster) throws ConfigurationException
name - the application namecluster - the associated clusterConfigurationExceptionList<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 wildcardConfigurationExceptionCollection<ITopic> getKafkaTopics() throws ConfigurationException
ConfigurationExceptionint getApplicationSize()
throws ConfigurationException
ConfigurationExceptionString getVersion() throws ConfigurationException
ConfigurationExceptionint getMajorVersion()
throws ConfigurationException
ConfigurationExceptionint getMinorVersion()
throws ConfigurationException
ConfigurationExceptionPath getPath()
boolean isStartableByTenant()
throws ConfigurationException
ConfigurationExceptionboolean isStoppableByTenant()
throws ConfigurationException
ConfigurationExceptionString getType()
String getRoot()
String getUUID()
List<String> getApplicationsName() throws ConfigurationException
ConfigurationExceptionIApplication getApplication(String name) throws ConfigurationException
ConfigurationExceptionCopyright © 2014–2022. All rights reserved.