Class SearchReplacement
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.search.SearchReplacement
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class SearchReplacement extends java.lang.Object implements java.io.SerializableSend back to the gateway to run a string replacement on an item. The SearchResult implemementation must contain enough internal information to allow the specified search provider to be able to locate and update the search result String with the replacement.- Since:
- 8.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SearchReplacement()SearchReplacement(SearchResult result, java.lang.String replacementText)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetReplacementText()The string that will replace the original string.java.lang.StringgetSearchProvider()The search provider that should handle this replacementSearchResultgetSearchResult()The original SearchResult that was retrieved during a previous search.
 
- 
- 
- 
Constructor Detail- 
SearchReplacementpublic SearchReplacement() 
 - 
SearchReplacementpublic SearchReplacement(SearchResult result, java.lang.String replacementText) 
 
- 
 - 
Method Detail- 
getSearchResultpublic SearchResult getSearchResult() The original SearchResult that was retrieved during a previous search.
 - 
getReplacementTextpublic java.lang.String getReplacementText() The string that will replace the original string.
 - 
getSearchProviderpublic java.lang.String getSearchProvider() The search provider that should handle this replacement
 
- 
 
-