Package com.devonfw.cobigen.cli.commands
Class UpdateCommand
- java.lang.Object
-
- com.devonfw.cobigen.cli.commands.UpdateCommand
-
-
Constructor Summary
Constructors Constructor Description UpdateCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercall()booleanprintOutdatedPlugin(List<org.apache.maven.model.Dependency> localPomDependencies, List<String> centralMavenVersionList, HashMap<String,String> updatePluginVersions, HashMap<Integer,String> listOfArtifacts)This method is printing the outdated plug-insvoidupdateOutdatedPlugins(List<org.apache.maven.model.Dependency> localPomDependencies, HashMap<Integer,String> listOfArtifacts, List<String> centralMavenVersionList, org.apache.maven.model.Model model, ArrayList<String> userInputPluginForUpdate)This method is updating the outdated plug-ins
-
-
-
Method Detail
-
printOutdatedPlugin
public boolean printOutdatedPlugin(List<org.apache.maven.model.Dependency> localPomDependencies, List<String> centralMavenVersionList, HashMap<String,String> updatePluginVersions, HashMap<Integer,String> listOfArtifacts)
This method is printing the outdated plug-ins- Parameters:
localPomDependencies- This parameter holds the artificial dependenciescentralMavenVersionList- This parameter holds version listupdatePluginVersions- This parameter contains the key, value pair of versionslistOfArtifacts- This holds a list of artifact ids which need to be updated
-
updateOutdatedPlugins
public void updateOutdatedPlugins(List<org.apache.maven.model.Dependency> localPomDependencies, HashMap<Integer,String> listOfArtifacts, List<String> centralMavenVersionList, org.apache.maven.model.Model model, ArrayList<String> userInputPluginForUpdate)
This method is updating the outdated plug-ins- Parameters:
localPomDependencies- This is holding the dependencies of artificial pomlistOfArtifacts- This parameter holds the value of updated plug-ins versioncentralMavenVersionList- This parameter holds the version listmodel- This parameter holds the after pom file reader dependenciesuserInputPluginForUpdate- This is holding user input for update plug-ins
-
-