org.jfrog.build.api
Class BaseBuildFileBean

java.lang.Object
  extended by org.jfrog.build.api.BaseBuildBean
      extended by org.jfrog.build.api.BaseBuildFileBean
All Implemented Interfaces:
java.io.Serializable, BuildBean, BuildFileBean
Direct Known Subclasses:
Artifact, Dependency, DeployableFile

public abstract class BaseBuildFileBean
extends BaseBuildBean
implements BuildFileBean

Base implementation of the build file bean interface

See Also:
Serialized Form

Field Summary
protected  java.lang.String md5
           
protected  java.lang.String sha1
           
protected  java.lang.String type
           
 
Fields inherited from interface org.jfrog.build.api.BuildBean
ARTIFACT, ARTIFACTS, DEPENDENCIES, DEPENDENCY, EXCLUDED_ARTIFACTS, MODULE, MODULES, ROOT
 
Constructor Summary
BaseBuildFileBean()
           
 
Method Summary
 java.lang.String getMd5()
          Returns the MD5 checksum of the file
 java.lang.String getSha1()
          Returns the SHA1 checksum of the file
 java.lang.String getType()
          Returns the type of the file
 void setMd5(java.lang.String md5)
          Sets the MD5 checksum of the file
 void setSha1(java.lang.String sha1)
          Sets the SHA1 checksum of the file
 void setType(java.lang.String type)
          Sets the type of the file
 
Methods inherited from class org.jfrog.build.api.BaseBuildBean
getProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfrog.build.api.BuildBean
getProperties, setProperties
 

Field Detail

type

protected java.lang.String type

sha1

protected java.lang.String sha1

md5

protected java.lang.String md5
Constructor Detail

BaseBuildFileBean

public BaseBuildFileBean()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: BuildFileBean
Returns the type of the file

Specified by:
getType in interface BuildFileBean
Returns:
File type

setType

public void setType(java.lang.String type)
Description copied from interface: BuildFileBean
Sets the type of the file

Specified by:
setType in interface BuildFileBean
Parameters:
type - File type

getSha1

public java.lang.String getSha1()
Description copied from interface: BuildFileBean
Returns the SHA1 checksum of the file

Specified by:
getSha1 in interface BuildFileBean
Returns:
File SHA1 checksum

setSha1

public void setSha1(java.lang.String sha1)
Description copied from interface: BuildFileBean
Sets the SHA1 checksum of the file

Specified by:
setSha1 in interface BuildFileBean
Parameters:
sha1 - File SHA1 checksum

getMd5

public java.lang.String getMd5()
Description copied from interface: BuildFileBean
Returns the MD5 checksum of the file

Specified by:
getMd5 in interface BuildFileBean
Returns:
File MD5 checksum

setMd5

public void setMd5(java.lang.String md5)
Description copied from interface: BuildFileBean
Sets the MD5 checksum of the file

Specified by:
setMd5 in interface BuildFileBean
Parameters:
md5 - File MD5 checksum