public class UpdateSitePlugin extends Object implements JIPipePlugin
JIPipePlugin
Constructor and Description |
---|
UpdateSitePlugin(JIPipeImageJUpdateSiteDependency dependency) |
UpdateSitePlugin(UpdateSite updateSite) |
Modifier and Type | Method and Description |
---|---|
String |
getDependencyId() |
Path |
getDependencyLocation()
Gets the location of the JAR/JSON that defined the dependency
|
String |
getDependencyVersion() |
JIPipeMetadata |
getMetadata() |
UpdateSite |
getUpdateSite(FilesCollection updateSites) |
boolean |
isActivated()
Returns true if the extension is activated.
|
boolean |
isScheduledForActivation()
Returns true if the extension is scheduled to be activated upon the next restart
|
boolean |
isScheduledForDeactivation()
Returns true if the extension is scheduled to be deactivated upon the next restart
|
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canActivate, isBeta, isCoreExtension
getAllDependencies, getAllDependencies, getAllImageJUpdateSiteDependencies, getDependencies, getImageJUpdateSiteDependencies, getImageJUpdateSites, simplifyAndMinimize, toHtmlElement
generateValidityReport
public UpdateSitePlugin(UpdateSite updateSite)
public UpdateSitePlugin(JIPipeImageJUpdateSiteDependency dependency)
public JIPipeMetadata getMetadata()
getMetadata
in interface JIPipeDependency
public String getDependencyId()
getDependencyId
in interface JIPipeDependency
public String getDependencyVersion()
getDependencyVersion
in interface JIPipeDependency
public Path getDependencyLocation()
JIPipeDependency
getDependencyLocation
in interface JIPipeDependency
public boolean isActivated()
JIPipePlugin
isActivated
in interface JIPipePlugin
public boolean isScheduledForActivation()
JIPipePlugin
isScheduledForActivation
in interface JIPipePlugin
public boolean isScheduledForDeactivation()
JIPipePlugin
isScheduledForDeactivation
in interface JIPipePlugin
public UpdateSite getUpdateSite(FilesCollection updateSites)
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in interface JIPipeDependency
reportContext
- the report contextreport
- the report to be added toCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.