Package de.espirit.firstspirit.ai.admin
Interface PromptOperationTagState
@Experimental
public interface PromptOperationTagState
Descriptor for the current state of the tag on a specific operation.
- Since:
- 5.2.241209
-
Method Summary
Modifier and TypeMethodDescription@Nullable Boolean
Returns any inherited selection state of the tag.@Nullable Boolean
getLocal()
Returns any local non-inherited selection state of the tag.@NotNull PromptSourceType
Returns the source in which the tag has been initially configured, if known.@NotNull String
getTag()
Returns the tag name.default boolean
isActive()
Returns whether the tag is active for the related context.boolean
Returns whether this tag is a default one.
-
Method Details
-
getTag
Returns the tag name.- Returns:
- The name of the tag.
- Since:
- 5.2.241209
-
getLocal
Returns any local non-inherited selection state of the tag.- Returns:
- The local selection state, or
null
if not specified explicitly. - Since:
- 5.2.241209
-
getInherited
Returns any inherited selection state of the tag.- Returns:
- The inherited selection state, or
null
for no inherited state. - Since:
- 5.2.241209
-
isActive
default boolean isActive()Returns whether the tag is active for the related context.- Returns:
true
if the tag is active,false
otherwise.- Since:
- 5.2.241209
-
getSource
Returns the source in which the tag has been initially configured, if known.- Returns:
- The initial source of the tag.
- Since:
- 5.2.241209
-
isDefault
boolean isDefault()Returns whether this tag is a default one.- Returns:
true
for a default tag (e.g. "ContentAssistant"),false
for a custom tag.- Since:
- 5.2.241209
-