Class GalaxyWorkflowPlugin.GalaxyWorkflowPluginImpl
java.lang.Object
org.galaxyproject.dockstore_galaxy_interface.language.GalaxyWorkflowPlugin.GalaxyWorkflowPluginImpl
- All Implemented Interfaces:
io.dockstore.language.CompleteLanguageInterface,io.dockstore.language.MinimalLanguageInterface,io.dockstore.language.RecommendedLanguageInterface,org.pf4j.ExtensionPoint
- Enclosing class:
- GalaxyWorkflowPlugin
@Extension
public static class GalaxyWorkflowPlugin.GalaxyWorkflowPluginImpl
extends Object
implements io.dockstore.language.CompleteLanguageInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.dockstore.language.CompleteLanguageInterface
io.dockstore.language.CompleteLanguageInterface.RowData, io.dockstore.language.CompleteLanguageInterface.RowTypeNested classes/interfaces inherited from interface io.dockstore.language.MinimalLanguageInterface
io.dockstore.language.MinimalLanguageInterface.FileMetadata, io.dockstore.language.MinimalLanguageInterface.FileReader, io.dockstore.language.MinimalLanguageInterface.GenericFileType, io.dockstore.language.MinimalLanguageInterface.WorkflowMetadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTestParameterFile(String initialPath, io.dockstore.language.MinimalLanguageInterface.FileReader reader) List<io.dockstore.language.CompleteLanguageInterface.RowData>generateToolsTable(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) io.dockstore.common.DescriptorLanguageindexWorkflowFiles(String initialPath, String contents, io.dockstore.language.MinimalLanguageInterface.FileReader reader) static booleanisGXFormat2Workflow(Map<String, Object> workflow) This is basically stolen from org.galaxyproject.gxformat2.Lint.launchInstructions(String trsID) loadCytoscapeElements(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) io.dockstore.language.MinimalLanguageInterface.WorkflowMetadataparseWorkflowForMetadata(String initialPath, String content, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) protected BooleanpathExistsFromReader(io.dockstore.language.MinimalLanguageInterface.FileReader reader, String path) io.dockstore.common.VersionTypeValidationvalidateTestParameterSet(Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) io.dockstore.common.VersionTypeValidationvalidateWorkflowSet(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles)
-
Constructor Details
-
GalaxyWorkflowPluginImpl
public GalaxyWorkflowPluginImpl()
-
-
Method Details
-
isGXFormat2Workflow
This is basically stolen from org.galaxyproject.gxformat2.Lint. However, that is generated code and cannot be modified so putting it here along with this warning that the two should probably be in sync.- Parameters:
workflow-- Returns:
-
launchInstructions
- Specified by:
launchInstructionsin interfaceio.dockstore.language.RecommendedLanguageInterface
-
loadCytoscapeElements
public Map<String,Object> loadCytoscapeElements(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) - Specified by:
loadCytoscapeElementsin interfaceio.dockstore.language.CompleteLanguageInterface
-
generateToolsTable
public List<io.dockstore.language.CompleteLanguageInterface.RowData> generateToolsTable(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) - Specified by:
generateToolsTablein interfaceio.dockstore.language.CompleteLanguageInterface
-
validateWorkflowSet
public io.dockstore.common.VersionTypeValidation validateWorkflowSet(String initialPath, String contents, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) - Specified by:
validateWorkflowSetin interfaceio.dockstore.language.RecommendedLanguageInterface
-
validateTestParameterSet
public io.dockstore.common.VersionTypeValidation validateTestParameterSet(Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) - Specified by:
validateTestParameterSetin interfaceio.dockstore.language.RecommendedLanguageInterface
-
getDescriptorLanguage
- Specified by:
getDescriptorLanguagein interfaceio.dockstore.language.MinimalLanguageInterface
-
initialPathPattern
- Specified by:
initialPathPatternin interfaceio.dockstore.language.MinimalLanguageInterface
-
indexWorkflowFiles
public Map<String,io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexWorkflowFiles(String initialPath, String contents, io.dockstore.language.MinimalLanguageInterface.FileReader reader) - Specified by:
indexWorkflowFilesin interfaceio.dockstore.language.MinimalLanguageInterface
-
findTestParameterFile
protected Optional<String> findTestParameterFile(String initialPath, io.dockstore.language.MinimalLanguageInterface.FileReader reader) -
pathExistsFromReader
protected Boolean pathExistsFromReader(io.dockstore.language.MinimalLanguageInterface.FileReader reader, String path) -
parseWorkflowForMetadata
public io.dockstore.language.MinimalLanguageInterface.WorkflowMetadata parseWorkflowForMetadata(String initialPath, String content, Map<String, io.dockstore.language.MinimalLanguageInterface.FileMetadata> indexedFiles) - Specified by:
parseWorkflowForMetadatain interfaceio.dockstore.language.MinimalLanguageInterface
-