Package cz.xtf.core.bm
Class BinaryBuildFromSources
- java.lang.Object
-
- cz.xtf.core.bm.BinaryBuild
-
- cz.xtf.core.bm.BinaryBuildFromSources
-
- All Implemented Interfaces:
ManagedBuild
- Direct Known Subclasses:
BinaryDockerBuild,BinarySourceBuild
public abstract class BinaryBuildFromSources extends BinaryBuild
Binary build that expect maven sources on path that shall be uploaded to OpenShift and built there.
-
-
Field Summary
-
Fields inherited from class cz.xtf.core.bm.BinaryBuild
bc, contentHash, is
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(OpenShift openShift)protected StringgetContentHash()inttoOctalFileMode(Set<PosixFilePermission> permissions)Converts a set ofPosixFilePermissionto chmod-style octal file mode.-
Methods inherited from class cz.xtf.core.bm.BinaryBuild
configureBuildStrategy, delete, getEnv, getImage, hasCompleted, isCached, isPresent, needsUpdate, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.xtf.core.bm.ManagedBuild
getId
-
-
-
-
Method Detail
-
build
public void build(OpenShift openShift)
-
getContentHash
protected String getContentHash()
- Specified by:
getContentHashin classBinaryBuild
-
toOctalFileMode
public int toOctalFileMode(Set<PosixFilePermission> permissions)
Converts a set ofPosixFilePermissionto chmod-style octal file mode.
-
-