| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.units.UnitUtil |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| UnitUtil() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static String |
buildFullyQualifiedCandidateUnitPath(String candidateUnitName, IUnitCreator parent, boolean includeArtifact, String separator)
Build the fully-qualified path of a potential unit whose only the name is provided.
| ||||||||||
| static String |
buildFullyQualifiedUnitPath(IUnit unit, boolean includeArtifact, String separator)
Build a fully-qualified unit path.
| ||||||||||
| static String |
buildFullyQualifiedUnitPath(IUnit unit)
Build a unit path of the artifact name and its parent units, such
as:
artifact > unit > unit > ... | ||||||||||
| static List<IUnit> | filterDescendants(IUnit base, int level, IUnitFilter filter) | ||||||||||
| static <T extends IUnit> List<T> | findAll(String name, Class<T> c, boolean strict) | ||||||||||
| static <T extends IUnit> T | findChild(IUnit base, String name, Class<T> c, boolean strict, int index) | ||||||||||
| static IUnit | findChildByFormatType(IUnit base, String formatType, int index) | ||||||||||
| static IUnit | findChildByName(IUnit base, String name, int index) | ||||||||||
| static <T extends IUnit> T | findChildByType(IUnit base, Class<T> c, boolean strict, int index) | ||||||||||
| static <T extends IUnit> List<T> | findChildren(IUnit base, String name, Class<T> c, boolean strict) | ||||||||||
| static List<IUnit> | findChildrenByFormatType(IUnit base, String formatType) | ||||||||||
| static List<IUnit> | findChildrenByName(IUnit base, String name) | ||||||||||
| static <T extends IUnit> List<T> | findChildrenByType(IUnit base, Class<T> c, boolean strict) | ||||||||||
| static <T extends IUnit> List<T> | findDescendants(ILiveArtifact base, int level, String name, Class<T> c, boolean strict) | ||||||||||
| static <T extends IUnit> List<T> | findDescendants(IUnit base, int level, String name, Class<T> c, boolean strict) | ||||||||||
| static List<IUnit> | findDescendantsByFormatType(IUnit base, String formatType) | ||||||||||
| static <T extends IUnit> List<T> | findDescendantsByFormatType(IUnit base, int level, String formatType) | ||||||||||
| static List<IUnit> | findDescendantsByName(IUnit base, String name) | ||||||||||
| static List<IUnit> | findDescendantsByName(IUnit base, int level, String name) | ||||||||||
| static <T extends IUnit> List<T> | findDescendantsByType(IUnit base, int level, Class<T> c, boolean strict) | ||||||||||
| static <T extends IUnit> List<T> | findDescendantsByType(IUnit base, Class<T> c, boolean strict) | ||||||||||
| static IUnit | findFirstChildByFormatType(IUnit base, String formatType) | ||||||||||
| static IUnit | findFirstChildByName(IUnit base, String name) | ||||||||||
| static <T extends IUnit> T | findFirstChildByType(IUnit base, Class<T> c, boolean strict) | ||||||||||
| static boolean | isAncestorOf(IUnit unit, IUnit expectedAncestor) | ||||||||||
| static boolean | isAncestorOf(IUnit unit, IUnit expectedAncestor, boolean strictAncestor) | ||||||||||
| static boolean | isTopLevelUnit(IUnit unit) | ||||||||||
| static void | logError(IUnit unit, String address, boolean recordNotification, ILogger logger, String format, Object... params) | ||||||||||
| static void | logException(IUnit unit, ILogger logger, Exception e) | ||||||||||
| static void | logInfo(IUnit unit, String address, boolean recordNotification, ILogger logger, String format, Object... params) | ||||||||||
| static void | logWarn(IUnit unit, String address, boolean recordNotification, ILogger logger, String format, Object... params) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Build the fully-qualified path of a potential unit whose only the name is provided.
Build a fully-qualified unit path.
Build a unit path of the artifact name and its parent units, such
as:artifact > unit > unit > ... > unit