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 BooleanReturns any inherited selection state of the tag.@Nullable BooleangetLocal()Returns any local non-inherited selection state of the tag.@NotNull PromptSourceTypeReturns the source in which the tag has been initially configured, if known.@NotNull StringgetTag()Returns the tag name.default booleanisActive()Returns whether the tag is active for the related context.booleanReturns 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
nullif not specified explicitly. - Since:
- 5.2.241209
-
getInherited
Returns any inherited selection state of the tag.- Returns:
- The inherited selection state, or
nullfor no inherited state. - Since:
- 5.2.241209
-
isActive
default boolean isActive()Returns whether the tag is active for the related context.- Returns:
trueif the tag is active,falseotherwise.- 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:
truefor a default tag (e.g. "ContentAssistant"),falsefor a custom tag.- Since:
- 5.2.241209
-