Package com.norconex.commons.lang.jar
Class JarCopier.OnJarConflict
java.lang.Object
com.norconex.commons.lang.jar.JarCopier.OnJarConflict
- Enclosing class:
JarCopier
Encapsulate target jar conflict resolution options.
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOnJarConflict(JarCopier.OnJarConflict.SourceAction sourceAction, JarCopier.OnJarConflict.TargetAction targetAction) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Action to perform (or not) on source file.Action to perform (or not) on target file.toString()withSourceAction(JarCopier.OnJarConflict.SourceAction sourceAction) Action to perform (or not) on source file.withTargetAction(JarCopier.OnJarConflict.TargetAction targetAction) Action to perform (or not) on target file.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
OnJarConflict
public OnJarConflict() -
OnJarConflict
public OnJarConflict(JarCopier.OnJarConflict.SourceAction sourceAction, JarCopier.OnJarConflict.TargetAction targetAction)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
sourceAction
Action to perform (or not) on source file. -
targetAction
Action to perform (or not) on target file. -
withSourceAction
Action to perform (or not) on source file.- Returns:
this.
-
withTargetAction
Action to perform (or not) on target file.- Returns:
this.
-