Uses of Interface
net.thevpc.common.diff.jar.DiffCommand
Packages that use DiffCommand
-
Uses of DiffCommand in net.thevpc.common.diff.jar
Classes in net.thevpc.common.diff.jar that implement DiffCommandMethods in net.thevpc.common.diff.jar that return DiffCommandModifier and TypeMethodDescriptionAbstractDiffItemCreateContext.getDiff()AbstractDiffResult.getDiff()DiffItemCreateContext.getDiff()AbstractDiffCommand.resolveDiffItemFactory(DiffKey key, DiffEvalContext diffEvalContext) Methods in net.thevpc.common.diff.jar that return types with arguments of type DiffCommandModifier and TypeMethodDescriptionDefaultDiffEvalContext.getSupportedCommands()DiffEvalContext.getSupportedCommands()Method parameters in net.thevpc.common.diff.jar with type arguments of type DiffCommandModifier and TypeMethodDescriptionvoidDefaultDiffEvalContext.setSupportedCommands(List<DiffCommand> commands) Constructors in net.thevpc.common.diff.jar with parameters of type DiffCommandModifierConstructorDescriptionAbstractDiffItemCreateContext(DiffKey key, DiffStatus status, String sourceValue, String targetValue, DiffCommand diffCommand, DiffEvalContext diffEvalContext) AbstractDiffResult(DiffCommand diff, DiffEvalContext diffEvalContext, TreeMap<DiffKey, String> added, TreeMap<DiffKey, String> removed, TreeMap<DiffKey, String[]> changed) DefaultDiffItemCreateContext(DiffKey name, DiffStatus status, String sourceValue, String targetValue, DiffCommand diffCommand, DiffEvalContext diffEvalContext) DefaultDiffResult(DiffCommand diff, DiffEvalContext diffEvalContext, TreeMap<DiffKey, String> added, TreeMap<DiffKey, String> removed, TreeMap<DiffKey, String[]> changed) -
Uses of DiffCommand in net.thevpc.common.diff.jar.commands
Classes in net.thevpc.common.diff.jar.commands that implement DiffCommandModifier and TypeClassDescriptionclassclassDiffCommandJar diff=new DiffCommandJar(jarfile1,jarfile2); DiffResult result=diff.getResult(); for(DiffItem i:result){ switch(i.getItemType()){ case "java-class": { String className=((DiffItemJavaClass)i).getclassName(); if(i.getDiffStatus()==DiffStatus.ADDED){ System.out.println(className +" is a new class"); } System.out.println(i); break; } default: { System.out.println(i); break; } } }classclassclassclassclassFields in net.thevpc.common.diff.jar.commands declared as DiffCommandModifier and TypeFieldDescriptionstatic final DiffCommandDiffCommandDefault.INSTANCEstatic final DiffCommandDiffCommandJavaClass.INSTANCEstatic final DiffCommandDiffCommandVar.INSTANCE