Class SourceMap
java.lang.Object
io.jenkins.plugins.remote.result.trigger.utils.SourceMap
SourceMap 工具
- Author:
- HW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(String key) boolean 值byte 值boolean
containsKey
(String key) doubleValue
(String key) Double 值floatValue
(String key) Float 值get sourceintegerValue
(String key) Integer 值List 值<T> List<T>
List 值Map 值static SourceMap
静态获取方式shortValue
(String key) short 值下一级获取器stringValue
(String key) String 值<T> T
获取值
-
Constructor Details
-
SourceMap
构造函数- Parameters:
source
- ES SourceMap
-
-
Method Details
-
of
静态获取方式- Returns:
- SourceMap工具
-
value
获取值- Parameters:
key
- 字段名type
- 类型- Returns:
- 值
-
booleanValue
boolean 值- Parameters:
key
- 字段名- Returns:
- 值
-
byteValue
byte 值- Parameters:
key
- 字段名- Returns:
- 值
-
shortValue
short 值- Parameters:
key
- 字段名- Returns:
- 值
-
integerValue
Integer 值- Parameters:
key
- 字段名- Returns:
- 值
-
floatValue
Float 值- Parameters:
key
- 字段名- Returns:
- 值
-
doubleValue
Double 值- Parameters:
key
- 字段名- Returns:
- 值
-
stringValue
String 值- Parameters:
key
- 字段名- Returns:
- 值
-
mapValue
Map 值- Parameters:
key
- 字段名- Returns:
- 值
-
listValue
List 值- Parameters:
key
- 字段名- Returns:
- 值
-
listValue
List 值- Parameters:
key
- 字段名elementClass
- List 对象类型- Returns:
- 值
-
sourceMap
下一级获取器- Parameters:
key
- 字段名- Returns:
- SourceMap工具
-
getSource
get source -
containsKey
-