本文整理汇总了Java中hudson.scm.ChangeLogParser类的典型用法代码示例。如果您正苦于以下问题:Java ChangeLogParser类的具体用法?Java ChangeLogParser怎么用?Java ChangeLogParser使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ChangeLogParser类属于hudson.scm包,在下文中一共展示了ChangeLogParser类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser() {
return new FakeChangeLogSCM.FakeChangeLogParser() {
@Override
public FakeChangeLogSCM.FakeChangeLogSet parse(AbstractBuild build, File changelogFile)
throws IOException, SAXException {
FakeChangeLogSCM.FakeChangeLogSet changeLogSet = super.parse(build, changelogFile);
// Call "setParent" on each entry
for (FakeChangeLogSCM.EntryImpl entry : changeLogSet) {
((Entry) entry).setParent(changeLogSet);
}
return changeLogSet;
}
};
}
示例2: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public ChangeLogParser createChangeLogParser() {
return new ChangeLogParser() {
@Override
public ChangeLogSet<? extends ChangeLogSet.Entry> parse(
AbstractBuild build, File changelogFile)
throws IOException, SAXException {
return parentSCMFromBuild(build, false /* attach action */)
.createChangeLogParser().parse(build, changelogFile);
}
};
}
示例3: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser()
{
return new ArtifactoryChangeLogParser();
}
示例4: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser()
{
return null;
}
示例5: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser() {
return null;
}
示例6: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser() {
return new NullChangeLogParser();
}
示例7: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
@Override
public ChangeLogParser createChangeLogParser() {
return null;
}
示例8: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
/**
* The returned object will be used to parse the changelog.xml file.
*
* @return a parser that can parse the changelog.xml file.
*/
@Override
public ChangeLogParser createChangeLogParser() {
return new FossilChangeLogParser();
}
示例9: createChangeLogParser
import hudson.scm.ChangeLogParser; //导入依赖的package包/类
/**
* The checkout method should, besides checking out the modified files,
* write a changelog.xml file that contains the changes for a certain build.
* The changelog.xml file is specific for each SCM implementation, and the
* createChangeLogParser returns a parser that can parse the file and return
* a ChangeLogSet.
*/
@Override
public ChangeLogParser createChangeLogParser() {
return new P4ChangeParser(credential);
}