public enum ComponentFolder extends Enum<ComponentFolder>
Enum Constant and Description |
---|
SETUP
Setup folder.
|
STRUCTURE
Structure folder.
|
WWW
Public files folder.
|
Modifier and Type | Method and Description |
---|---|
String |
getRelativePath(IComponent component)
Returns the relative path of the given component.
|
String |
getRelativePath(IComponent component,
String desiredRelativePath)
Returns the relative path of the desired path under the given component.
|
String |
getRelativePath(String componentId)
Returns the relative path of the given component identifier.
|
String |
getRelativePath(String componentId,
String desiredRelativePath)
Returns the relative path of the desired path under the given component identifier.
|
static ComponentFolder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentFolder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentFolder STRUCTURE
public static final ComponentFolder WWW
public static final ComponentFolder SETUP
public static ComponentFolder[] values()
for (ComponentFolder c : ComponentFolder.values()) System.out.println(c);
public static ComponentFolder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRelativePath(IComponent component)
component
- the component.public String getRelativePath(IComponent component, String desiredRelativePath)
component
- the component.desiredRelativePath
- the desired path.public String getRelativePath(String componentId)
componentId
- the component identifierpublic String getRelativePath(String componentId, String desiredRelativePath)
component
- the component identifier.desiredRelativePath
- the desired path.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.