public abstract class ManifestFileContent extends PropertiesFileContent
PropertiesFileContent.PropertiesFileContentDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
protected Attributes |
attributes |
allKeys, KEY_SEPARATOR, keys2Inspect
jobName
Constructor and Description |
---|
ManifestFileContent(String keys2Inspect,
boolean allKeys) |
Modifier and Type | Method and Description |
---|---|
protected abstract Manifest |
getManifest(File file)
Gets the MANIFEST object from a File object
|
Object |
getMemoryInfo()
Used by caller trigger for transferring objects between objects
between master and slave
|
protected void |
initForContent(File file)
Cycle of the trigger
These methods have to be overridden in each trigger implementation
|
protected boolean |
isTriggeringBuildForContent(File file,
org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) |
void |
setMemoryInfo(Object memoryInfo) |
getKeys2Inspect, isAllKeys, readResolve
getDescriptor, initMemoryFields, isTriggeringBuild
protected transient Attributes attributes
public ManifestFileContent(String keys2Inspect, boolean allKeys)
public Object getMemoryInfo()
FSTriggerContentFileType
getMemoryInfo
in class PropertiesFileContent
public void setMemoryInfo(Object memoryInfo)
setMemoryInfo
in class PropertiesFileContent
protected abstract Manifest getManifest(File file)
file
- the input java.io.File objectprotected void initForContent(File file) throws org.jenkinsci.plugins.xtriggerapi.XTriggerException
FSTriggerContentFileType
initForContent
in class PropertiesFileContent
org.jenkinsci.plugins.xtriggerapi.XTriggerException
protected boolean isTriggeringBuildForContent(File file, org.jenkinsci.plugins.xtriggerapi.XTriggerLog log) throws org.jenkinsci.plugins.xtriggerapi.XTriggerException
isTriggeringBuildForContent
in class PropertiesFileContent
org.jenkinsci.plugins.xtriggerapi.XTriggerException
Copyright © 2016–2022. All rights reserved.