Class PluginInfo
java.lang.Object
org.hansken.plugin.extraction.api.PluginInfo
Information about an 
extraction plugin, such as the author or
 a human-readable description.
 Example PluginInfo:
     PluginInfo.builderFor(this)
         .id("nfi.nl", "digest", "sha111")
         .pluginVersion("0.2.1")
         .description("Calculates hashes from data streams.")
         .author(Author.builder()
             .name("name")
             .email("test@email.com")
             .organisation("organisation")
             .build())
         .maturityLevel(MaturityLevel.PROOF_OF_CONCEPT)
         .hqlMatcher("hql-lite query")
         .webpageUrl("https://github.com/myOrg/digestPlugin")
         .license("Apache License 2.0")
         .resources(Resources.builder()
             .maximumCpu(1)
             .maximumMemory(1000)
             .build())
         .build();
 - 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionauthor()Get theauthorof this plugin.static PluginInfo.BuilderbuilderFor(BaseExtractionPlugin plugin) Start creating newplugin informationfor the given plugin.static PluginInfo.BuilderbuilderFor(PluginType type) Start creating newplugin informationfor a plugin of given type.intGet the number of extraction iterations before the deferred plugin can be applied on traces.Get a human readable description of this plugin.fullName()Get the full name of thisplugin, based on the id.Get the hqlMatcher of this plugin in string format.id()Get the the unique id of this plugin, consisting of domain, category and name.license()Get the name of the license of this plugin.Get thematurity levelof this plugin.name()Deprecated.Get the version of thisplugin.Get theresourcesof this plugin.Get a list of possible transform methods this plugin provides.Get the url of this plugin, could point to git repo or webpage that explains the plugin.
- 
Method Details- 
builderForStart creating newplugin informationfor the given plugin.- Parameters:
- plugin- the plugin to create the plugin information for
- Returns:
- a builder for plugin metadata
 
- 
builderForStart creating newplugin informationfor a plugin of given type.- Parameters:
- type- the type of plugin to create the plugin information for
- Returns:
- a builder for plugin metadata
 
- 
pluginType- Returns:
- the type of this plugin
 
- 
nameDeprecated.Useid()instead.Get the name of thisplugin.- Returns:
- the name of this plugin
 
- 
fullNameGet the full name of thisplugin, based on the id. This name will be shown in the Hansken GUI.- Returns:
- the full name of this plugin, based on the id
 
- 
pluginVersionGet the version of thisplugin.- Returns:
- the version of this plugin
 
- 
descriptionGet a human readable description of this plugin.- Returns:
- a description of this plugin
 
- 
authorGet theauthorof this plugin.- Returns:
- the author of this plugin.
 
- 
maturityLevelGet thematurity levelof this plugin.- Returns:
- the maturity level of this plugin
 
- 
hqlMatcherGet the hqlMatcher of this plugin in string format.- Returns:
- the matcher of this plugin
 
- 
webpageUrlGet the url of this plugin, could point to git repo or webpage that explains the plugin.- Returns:
- the url of this plugin
 
- 
deferredIterationspublic int deferredIterations()Get the number of extraction iterations before the deferred plugin can be applied on traces. Only relevant for deferred plugins; default value is 1.- Returns:
- the number of iterations set of this plugin
 
- 
idGet the the unique id of this plugin, consisting of domain, category and name.- Returns:
- the url of this plugin
 
- 
licenseGet the name of the license of this plugin.- Returns:
- the name of the license of this plugin
 
- 
transformersGet a list of possible transform methods this plugin provides.- Returns:
- list of transform methods
 
- 
resourcesGet theresourcesof this plugin.- Returns:
- the resources of this plugin
 
 
- 
id()instead.