Package org.apache.ivy.plugins.lock
Class AbstractLockStrategy
- java.lang.Object
-
- org.apache.ivy.plugins.lock.AbstractLockStrategy
-
- All Implemented Interfaces:
LockStrategy
- Direct Known Subclasses:
FileBasedLockStrategy,NoLockStrategy
public abstract class AbstractLockStrategy extends java.lang.Object implements LockStrategy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLockStrategy()protectedAbstractLockStrategy(boolean debugLocking)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of the strategybooleanisDebugLocking()voidsetName(java.lang.String name)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ivy.plugins.lock.LockStrategy
lockArtifact, unlockArtifact
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:LockStrategyReturns the name of the strategy- Specified by:
getNamein interfaceLockStrategy- Returns:
- the name of the strategy
-
setName
public void setName(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isDebugLocking
public boolean isDebugLocking()
-
-