Package org.glassfish.api.admin.config
Interface ApplicationName
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
,jakarta.validation.Payload
public interface ApplicationName
extends org.jvnet.hk2.config.ConfigBeanProxy, jakarta.validation.Payload
A configured element which has to have application type of name.
- Author:
- Nandini Ektare
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull @Pattern(regexp="[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;:#]*",message="{app.invalid.name}",payload=ApplicationName.class) String
getName()
Name of the configured objectvoid
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Field Details
-
NAME_APP_REGEX
- See Also:
-
-
Method Details
-
getName
@NotNull @Pattern(regexp="[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;:#]*", message="{app.invalid.name}", payload=ApplicationName.class) @NotNull @Pattern(regexp="[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;:#]*",message="{app.invalid.name}",payload=ApplicationName.class) String getName()Name of the configured object- Returns:
- name of the configured object
-
setName
- Throws:
PropertyVetoException
-