Toggle navigation
Home
org.eclipse.che.api.devfile.model.Component to org.eclipse.che.api.workspace.server.model.impl.devfile.ComponentImpl
No. of Instances - 44
No. of Commits - 1
No. of Projects - {'che'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
new Component().withId(DEFAULT_TERMINAL_PLUGIN_REF).withName(DEFAULT_TERMINAL_PLUGIN_ID).withType(PLUGIN_COMPONENT_TYPE)
to
DEFAULT_TERMINAL_PLUGIN_REF
components.contains(DEFAULT_TERMINAL_PLUGIN_REF)
to
components.contains(new ComponentImpl(PLUGIN_COMPONENT_TYPE,DEFAULT_TERMINAL_PLUGIN_ID,DEFAULT_TERMINAL_PLUGIN_REF))
components.contains(new Component().withId(DEFAULT_EDITOR_REF).withName(DEFAULT_EDITOR_ID).withType(EDITOR_COMPONENT_TYPE))
to
components.contains(new ComponentImpl(EDITOR_COMPONENT_TYPE,DEFAULT_EDITOR_ID,DEFAULT_EDITOR_REF))
new Component().withId(DEFAULT_TERMINAL_PLUGIN_REF).withName(DEFAULT_TERMINAL_PLUGIN_ID).withType(PLUGIN_COMPONENT_TYPE)
to
DEFAULT_TERMINAL_PLUGIN_REF
components.contains(DEFAULT_TERMINAL_PLUGIN_REF)
to
components.contains(new ComponentImpl(PLUGIN_COMPONENT_TYPE,DEFAULT_TERMINAL_PLUGIN_ID,DEFAULT_TERMINAL_PLUGIN_REF))
components.contains(new Component().withId(DEFAULT_EDITOR_REF).withName(DEFAULT_EDITOR_ID).withType(EDITOR_COMPONENT_TYPE))
to
components.contains(new ComponentImpl(EDITOR_COMPONENT_TYPE,DEFAULT_EDITOR_ID,DEFAULT_EDITOR_REF))
new Component().withId(DEFAULT_COMMAND_PLUGIN_REF).withName(DEFAULT_COMMAND_PLUGIN_ID).withType(PLUGIN_COMPONENT_TYPE)
to
DEFAULT_COMMAND_PLUGIN_REF
components.contains(DEFAULT_COMMAND_PLUGIN_REF)
to
components.contains(new ComponentImpl(PLUGIN_COMPONENT_TYPE,DEFAULT_COMMAND_PLUGIN_ID,DEFAULT_COMMAND_PLUGIN_REF))
new Component().withId(DEFAULT_TERMINAL_PLUGIN_REF).withName(DEFAULT_TERMINAL_PLUGIN_ID).withType(PLUGIN_COMPONENT_TYPE)
to
DEFAULT_TERMINAL_PLUGIN_REF
components.contains(DEFAULT_TERMINAL_PLUGIN_REF)
to
components.contains(new ComponentImpl(PLUGIN_COMPONENT_TYPE,DEFAULT_TERMINAL_PLUGIN_ID,DEFAULT_TERMINAL_PLUGIN_REF))
components.add(new Component().withType(PLUGIN_COMPONENT_TYPE).withId(pluginRef).withName(findAvailableName(componentsNames,pluginRef)))
to
components.add(new ComponentImpl(PLUGIN_COMPONENT_TYPE,findAvailableName(componentsNames,pluginRef),pluginRef))
components.contains(new Component().withId(DEFAULT_EDITOR_REF).withName(DEFAULT_EDITOR_ID).withType(EDITOR_COMPONENT_TYPE))
to
components.contains(new ComponentImpl(EDITOR_COMPONENT_TYPE,DEFAULT_EDITOR_ID,DEFAULT_EDITOR_REF))
components.contains(new Component().withId(DEFAULT_EDITOR_REF).withName(DEFAULT_EDITOR_ID).withType(EDITOR_COMPONENT_TYPE))
to
components.contains(new ComponentImpl(EDITOR_COMPONENT_TYPE,DEFAULT_EDITOR_ID,DEFAULT_EDITOR_REF))
Rename Variable
dockerimageTool
to
dockerimageComponent