Package io.openems.edge.core.appmanager
Class AppAssistant.Builder
java.lang.Object
io.openems.edge.core.appmanager.AppAssistant.Builder
- All Implemented Interfaces:
OnlyIf<AppAssistant.Builder>
,Self<AppAssistant.Builder>
- Enclosing class:
- AppAssistant
public static class AppAssistant.Builder
extends Object
implements Self<AppAssistant.Builder>, OnlyIf<AppAssistant.Builder>
A temporary builder class for an
AppAssistant
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Return the builtJsonArray
.fields
(com.google.gson.JsonArray fields) Sets the Fields.self()
Gets itself.Sets the alias.setAppName
(String name) Sets the App name.
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
build
Return the builtJsonArray
.- Returns:
- the
JsonArray
-
fields
Sets the Fields.- Parameters:
fields
- the fields- Returns:
- the
AppAssistant.Builder
-
setAlias
Sets the alias.- Parameters:
alias
- the alias- Returns:
- the
AppAssistant.Builder
-
setAppName
Sets the App name.- Parameters:
name
- the app name- Returns:
- the
AppAssistant.Builder
-
self
Description copied from interface:Self
Gets itself.- Specified by:
self
in interfaceSelf<AppAssistant.Builder>
- Returns:
- this
-