Class TagConfigurationBuilder
- java.lang.Object
-
- com.inductiveautomation.ignition.common.tags.config.TagConfigurationBuilder
-
- Direct Known Subclasses:
TagConfigurationBuilder.MemberTagConfigurationBuilder
public class TagConfigurationBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagConfigurationBuilder.MemberTagConfigurationBuilder
This form of the builder is for child member builders, and only adds the "close()" function that will finish that builder and return the parent.
-
Constructor Summary
Constructors Constructor Description TagConfigurationBuilder()
-
Method Summary
-
-
-
Method Detail
-
newBuilder
public static TagConfigurationBuilder newBuilder()
-
name
public TagConfigurationBuilder name(java.lang.String name)
-
path
public TagConfigurationBuilder path(java.lang.String path)
The path is just the folder path, not including the tag name.
-
fullPath
public TagConfigurationBuilder fullPath(java.lang.String path)
Full path is a forward-slash ("/") separated string that is the folder path + tag name. This is equivilent to calling path() and name().
-
tagType
public TagConfigurationBuilder tagType(TagType type)
-
tagType
public TagConfigurationBuilder tagType(java.lang.String typeId)
-
dataType
public TagConfigurationBuilder dataType(DataType type)
-
property
public TagConfigurationBuilder property(Property<?> prop, java.lang.Object value)
-
properties
public TagConfigurationBuilder properties(PropertySet props)
-
parameter
public TagConfigurationBuilder parameter(java.lang.String name, java.lang.String value)
-
member
public TagConfigurationBuilder.MemberTagConfigurationBuilder member(java.lang.String fullPath)
Returns a builder for the given member path.
-
_member
protected TagConfigurationBuilder.MemberTagConfigurationBuilder _member(java.lang.String name)
-
member
public TagConfigurationBuilder member(java.lang.String fullPath, TagConfiguration memberConfig)
-
alarm
public TagConfigurationBuilder alarm(AlarmDefinition alarm)
-
build
public TagConfiguration build()
-
-