Class ManifestFileContent
java.lang.Object
org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
org.jenkinsci.plugins.fstrigger.triggers.filecontent.PropertiesFileContent
org.jenkinsci.plugins.fstrigger.triggers.filecontent.ManifestFileContent
- All Implemented Interfaces:
ExtensionPoint,Describable<FSTriggerContentFileType>,Serializable
- Direct Known Subclasses:
JARManifestFileContent,SourceManifestFileContent
- Author:
- Gregory Boissinot
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.fstrigger.triggers.filecontent.PropertiesFileContent
PropertiesFileContent.PropertiesFileContentDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class org.jenkinsci.plugins.fstrigger.triggers.filecontent.PropertiesFileContent
allKeys, KEY_SEPARATOR, keys2InspectFields inherited from class org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
jobName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ManifestgetManifest(File file) Gets the MANIFEST object from a File objectUsed by caller trigger for transferring objects between objects between master and slaveprotected voidinitForContent(File file) Cycle of the trigger These methods have to be overridden in each trigger implementationprotected booleanisTriggeringBuildForContent(File file, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) voidsetMemoryInfo(Object memoryInfo) Methods inherited from class org.jenkinsci.plugins.fstrigger.triggers.filecontent.PropertiesFileContent
getKeys2Inspect, isAllKeys, readResolveMethods inherited from class org.jenkinsci.plugins.fstrigger.core.FSTriggerContentFileType
getDescriptor, initMemoryFields, isTriggeringBuild
-
Field Details
-
attributes
-
-
Constructor Details
-
ManifestFileContent
-
-
Method Details
-
getMemoryInfo
Description copied from class:FSTriggerContentFileTypeUsed by caller trigger for transferring objects between objects between master and slave- Overrides:
getMemoryInfoin classPropertiesFileContent
-
setMemoryInfo
- Overrides:
setMemoryInfoin classPropertiesFileContent
-
getManifest
Gets the MANIFEST object from a File object- Parameters:
file- the input java.io.File object- Returns:
- the java.util.jar.Manifest object if exists, otherwise null
-
initForContent
Description copied from class:FSTriggerContentFileTypeCycle of the trigger These methods have to be overridden in each trigger implementation- Overrides:
initForContentin classPropertiesFileContent- Throws:
org.jenkinsci.plugins.xtriggerapi.XTriggerException
-
isTriggeringBuildForContent
protected boolean isTriggeringBuildForContent(File file, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) throws org.jenkinsci.plugins.xtriggerapi.XTriggerException - Overrides:
isTriggeringBuildForContentin classPropertiesFileContent- Throws:
org.jenkinsci.plugins.xtriggerapi.XTriggerException
-