Package org.eclipse.steady.sign
Interface SignatureFactory
-
public interface SignatureFactorySignatureFactory interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SignatureChangecomputeChange(Construct _from, Construct _to)computeChange.SignaturecreateSignature(Construct _construct)SignaturecreateSignature(ConstructId _cid, File _file)Creates aSignatureof the givenConstructIdon the basis of the given file.booleanisSupportedConstructId(ConstructId _id)Returns true if the factory can compute a signature for the givenConstructId, false otherwise.
-
-
-
Method Detail
-
isSupportedConstructId
boolean isSupportedConstructId(ConstructId _id)
Returns true if the factory can compute a signature for the givenConstructId, false otherwise.- Parameters:
_id- aConstructIdobject.- Returns:
- a boolean.
-
createSignature
Signature createSignature(ConstructId _cid, File _file)
Creates aSignatureof the givenConstructIdon the basis of the given file.- Parameters:
_cid- aConstructIdobject._file- aFileobject.- Returns:
- a
Signatureobject.
-
computeChange
SignatureChange computeChange(Construct _from, Construct _to)
computeChange.
- Parameters:
_from- aConstructobject._to- aConstructobject.- Returns:
- a
SignatureChangeobject.
-
-