Record Class ResourceConfig.Pattern
java.lang.Object
java.lang.Record
cloud.opencode.base.classloader.graalvm.ResourceConfig.Pattern
- Record Components:
pattern- resource glob pattern | 资源匹配模式
- Enclosing class:
ResourceConfig
Resource pattern entry
资源模式条目
- Since:
- JDK 25, opencode-base-classloader V1.0.3
- Author:
- Leon Soo www.LeonSoo.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.toJson()Convert to JSON object string 转换为 JSON 对象字符串final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pattern
Compact constructor with validation 带验证的紧凑构造器- Throws:
NullPointerException- if pattern is null | 如果 pattern 为 null 抛出异常
-
-
Method Details
-
toJson
Convert to JSON object string 转换为 JSON 对象字符串- Returns:
- JSON object string | JSON 对象字符串
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
pattern
-