Class AbstractScriptBuilderInfoSearchObject

java.lang.Object
com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractActionHandlerSearchObject
com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractScriptBuilderInfoSearchObject
All Implemented Interfaces:
SearchObject
Direct Known Subclasses:
ScriptBuilderStringArraySearchObject, ScriptBuilderStringListSearchObject, ScriptBuilderStringSearchObject

public abstract class AbstractScriptBuilderInfoSearchObject extends AbstractActionHandlerSearchObject
  • Field Details

    • name

      protected String name
    • builderClass

      protected Class<?> builderClass
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: SearchObject
      The name of the object that matches the search pattern. In other words, a description of the element inside the owner, such as "Name", or "Expression".
    • getValue

      protected abstract String getValue(Map<String,Object> info)
    • setValue

      protected abstract void setValue(Map<String,Object> info, String newValue) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • getText

      public String getText()
      Description copied from interface: SearchObject
      Gets the text representation of the search result. This is what will be used for the "search".
    • setText

      public void setText(String value) throws IllegalArgumentException
      Description copied from interface: SearchObject
      Updates the search result with the new value- the "replace" in "search invalid input: '&' replace".
      Throws:
      IllegalArgumentException - If the new text value is not suitable for this search object