Package org.gradle.plugins.signing.type
Class AbstractSignatureTypeProvider
- java.lang.Object
-
- org.gradle.plugins.signing.type.AbstractSignatureTypeProvider
-
- All Implemented Interfaces:
SignatureTypeProvider
- Direct Known Subclasses:
DefaultSignatureTypeProvider
public abstract class AbstractSignatureTypeProvider extends java.lang.Object implements SignatureTypeProvider
Convenience base class forSignatureTypeProvider
implementations.
-
-
Constructor Summary
Constructors Constructor Description AbstractSignatureTypeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureType
getDefaultType()
SignatureType
getTypeForExtension(java.lang.String extension)
boolean
hasTypeForExtension(java.lang.String extension)
protected void
register(SignatureType type)
void
setDefaultType(java.lang.String defaultTypeExtension)
-
-
-
Method Detail
-
getDefaultType
public SignatureType getDefaultType()
- Specified by:
getDefaultType
in interfaceSignatureTypeProvider
-
setDefaultType
public void setDefaultType(java.lang.String defaultTypeExtension)
- Specified by:
setDefaultType
in interfaceSignatureTypeProvider
-
hasTypeForExtension
public boolean hasTypeForExtension(java.lang.String extension)
- Specified by:
hasTypeForExtension
in interfaceSignatureTypeProvider
-
getTypeForExtension
public SignatureType getTypeForExtension(java.lang.String extension)
- Specified by:
getTypeForExtension
in interfaceSignatureTypeProvider
-
register
protected void register(SignatureType type)
-
-