public class LifeCycleHook extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LifeCycleHook() | 
| LifeCycleHook(LifeCycleHook source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getExecCommandContent()Get execCommand函数执行内容
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getExecMode()Get 函数执行方式:execCommand|httpGet|none
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getHookType()Get 生命周期函数类型:PostStart|PreStop
注意:此字段可能返回 null,表示取不到有效值。 | 
| HttpGetOption | getHttpGetOption()Get HttpGet执行内容
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setExecCommandContent(String ExecCommandContent)Set execCommand函数执行内容
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setExecMode(String ExecMode)Set 函数执行方式:execCommand|httpGet|none
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setHookType(String HookType)Set 生命周期函数类型:PostStart|PreStop
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setHttpGetOption(HttpGetOption HttpGetOption)Set HttpGet执行内容
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LifeCycleHook()
public LifeCycleHook(LifeCycleHook source)
public String getHookType()
public void setHookType(String HookType)
HookType - 生命周期函数类型:PostStart|PreStop
注意:此字段可能返回 null,表示取不到有效值。public String getExecMode()
public void setExecMode(String ExecMode)
ExecMode - 函数执行方式:execCommand|httpGet|none
注意:此字段可能返回 null,表示取不到有效值。public String getExecCommandContent()
public void setExecCommandContent(String ExecCommandContent)
ExecCommandContent - execCommand函数执行内容
注意:此字段可能返回 null,表示取不到有效值。public HttpGetOption getHttpGetOption()
public void setHttpGetOption(HttpGetOption HttpGetOption)
HttpGetOption - HttpGet执行内容
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.