Class KotlinDslExtensionImpl
- java.lang.Object
-
- jetbrains.buildServer.configs.dsl.extensions.KotlinDslExtensionImpl
-
- All Implemented Interfaces:
KotlinDslExtension
public class KotlinDslExtensionImpl extends Object implements KotlinDslExtension
-
-
Constructor Summary
Constructors Constructor Description KotlinDslExtensionImpl(String type, String packageName, String className, String functionName, String predicate, List<KotlinDslParam> params, List<KotlinDslEnum> enums, Map<String,String> initParams, boolean defaultImplementation, DeprecatedInfo deprecatedInfo, List<KotlinDslExample> examples)
KotlinDslExtensionImpl(String type, String packageName, String className, String functionName, String predicate, List<KotlinDslParam> params, List<KotlinDslEnum> enums, Map<String,String> initParams, boolean defaultImplementation, DeprecatedInfo deprecatedInfo, List<KotlinDslExample> examples, Map<String,String> functionAttributes)
KotlinDslExtensionImpl(String type, String packageName, String className, String functionName, String predicate, List<KotlinDslParam> params, List<KotlinDslEnum> enums, Map<String,String> initParams, DeprecatedInfo deprecatedInfo, List<KotlinDslExample> examples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEnums(List<KotlinDslEnum> enums)
void
addParams(List<KotlinDslParam> params)
String
getClassDescription()
String
getClassName()
DeprecatedInfo
getDeprecatedInfo()
List<KotlinDslEnum>
getEnums()
List<KotlinDslExample>
getExamples()
Map<String,String>
getFunctionAttributes()
String
getFunctionDescription()
String
getFunctionName()
Map<String,String>
getInitParams()
String
getPackageName()
List<KotlinDslParam>
getParams()
String
getPredicate()
String
getType()
boolean
hasPredicate()
boolean
isApplicable(Map<String,String> params)
boolean
isDefaultImplementation()
boolean
isDeprecated()
void
setClassDescription(String classDescription)
void
setFunctionDescription(String functionDescription)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.configs.dsl.extensions.KotlinDslExtension
allowsUpdateUIPatch, getFQN
-
-
-
-
Constructor Detail
-
KotlinDslExtensionImpl
public KotlinDslExtensionImpl(@NotNull String type, @NotNull String packageName, @NotNull String className, @Nullable String functionName, @Nullable String predicate, @NotNull List<KotlinDslParam> params, @NotNull List<KotlinDslEnum> enums, @NotNull Map<String,String> initParams, @Nullable DeprecatedInfo deprecatedInfo, @NotNull List<KotlinDslExample> examples)
-
KotlinDslExtensionImpl
public KotlinDslExtensionImpl(@NotNull String type, @NotNull String packageName, @NotNull String className, @Nullable String functionName, @Nullable String predicate, @NotNull List<KotlinDslParam> params, @NotNull List<KotlinDslEnum> enums, @NotNull Map<String,String> initParams, boolean defaultImplementation, @Nullable DeprecatedInfo deprecatedInfo, @NotNull List<KotlinDslExample> examples)
-
KotlinDslExtensionImpl
public KotlinDslExtensionImpl(@NotNull String type, @NotNull String packageName, @NotNull String className, @Nullable String functionName, @Nullable String predicate, @NotNull List<KotlinDslParam> params, @NotNull List<KotlinDslEnum> enums, @NotNull Map<String,String> initParams, boolean defaultImplementation, @Nullable DeprecatedInfo deprecatedInfo, @NotNull List<KotlinDslExample> examples, @NotNull Map<String,String> functionAttributes)
-
-
Method Detail
-
getType
@NotNull public String getType()
- Specified by:
getType
in interfaceKotlinDslExtension
-
getPackageName
@NotNull public String getPackageName()
- Specified by:
getPackageName
in interfaceKotlinDslExtension
-
getClassName
@NotNull public String getClassName()
- Specified by:
getClassName
in interfaceKotlinDslExtension
-
getParams
@NotNull public List<KotlinDslParam> getParams()
- Specified by:
getParams
in interfaceKotlinDslExtension
-
addParams
public void addParams(@NotNull List<KotlinDslParam> params)
-
getFunctionName
@Nullable public String getFunctionName()
- Specified by:
getFunctionName
in interfaceKotlinDslExtension
-
getInitParams
@NotNull public Map<String,String> getInitParams()
- Specified by:
getInitParams
in interfaceKotlinDslExtension
-
isDefaultImplementation
public boolean isDefaultImplementation()
- Specified by:
isDefaultImplementation
in interfaceKotlinDslExtension
-
getEnums
@NotNull public List<KotlinDslEnum> getEnums()
- Specified by:
getEnums
in interfaceKotlinDslExtension
-
addEnums
public void addEnums(@NotNull List<KotlinDslEnum> enums)
-
hasPredicate
public boolean hasPredicate()
- Specified by:
hasPredicate
in interfaceKotlinDslExtension
-
getPredicate
@Nullable public String getPredicate()
-
getClassDescription
@Nullable public String getClassDescription()
- Specified by:
getClassDescription
in interfaceKotlinDslExtension
-
setClassDescription
public void setClassDescription(String classDescription)
-
getFunctionDescription
@Nullable public String getFunctionDescription()
- Specified by:
getFunctionDescription
in interfaceKotlinDslExtension
-
setFunctionDescription
public void setFunctionDescription(String functionDescription)
-
getDeprecatedInfo
@Nullable public DeprecatedInfo getDeprecatedInfo()
- Specified by:
getDeprecatedInfo
in interfaceKotlinDslExtension
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecated
in interfaceKotlinDslExtension
-
getExamples
@NotNull public List<KotlinDslExample> getExamples()
- Specified by:
getExamples
in interfaceKotlinDslExtension
-
isApplicable
public boolean isApplicable(@NotNull Map<String,String> params)
- Specified by:
isApplicable
in interfaceKotlinDslExtension
-
-