org.apache.maven.continuum.model.project.Project.isCheckedOutInSingleDirectory()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(100)

本文整理了Java中org.apache.maven.continuum.model.project.Project.isCheckedOutInSingleDirectory()方法的一些代码示例,展示了Project.isCheckedOutInSingleDirectory()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.isCheckedOutInSingleDirectory()方法的具体详情如下:
包路径:org.apache.maven.continuum.model.project.Project
类名称:Project
方法名:isCheckedOutInSingleDirectory

Project.isCheckedOutInSingleDirectory介绍

[英]Get the checkedOutInSingleDirectory field.
[中]获取CheckedOutingSingleDirectory字段。

代码示例

代码示例来源:origin: org.apache.continuum/continuum-commons

if ( project.isCheckedOutInSingleDirectory() && projectScmRoot != null && !"".equals( projectScmRoot ) )

代码示例来源:origin: org.apache.continuum/continuum-model

serializer.writeEndElement();
if ( project.isCheckedOutInSingleDirectory() != false )
  serializer.writeCharacters( String.valueOf( project.isCheckedOutInSingleDirectory() ) );
  serializer.writeEndElement();

代码示例来源:origin: org.apache.continuum/continuum-core

if ( project.isCheckedOutInSingleDirectory() )

代码示例来源:origin: org.apache.continuum/continuum-core

private ContinuumScmConfiguration createScmConfiguration( Project project, File workingDirectory,
                             String scmUserName, String scmPassword, String scmRootUrl,
                             boolean isRootDirectory )
{
  ContinuumScmConfiguration config = new ContinuumScmConfiguration();
  if ( project.isCheckedOutInSingleDirectory() && scmRootUrl != null && !"".equals( scmRootUrl ) &&
    isRootDirectory )
  {
    config.setUrl( scmRootUrl );
  }
  else
  {
    config.setUrl( project.getScmUrl() );
  }
  // CONTINUUM-2628
  config = ContinuumScmUtils.setSCMCredentialsforSSH( config, config.getUrl(), scmUserName, scmPassword );
  config.setUseCredentialsCache( project.isScmUseCache() );
  config.setWorkingDirectory( workingDirectory );
  config.setTag( project.getScmTag() );
  return config;
}

代码示例来源:origin: org.apache.continuum/continuum-core

private ContinuumScmConfiguration createScmConfiguration( Project project, File workingDirectory,
                             String scmRootUrl )
{
  ContinuumScmConfiguration config = new ContinuumScmConfiguration();
  if ( project.isCheckedOutInSingleDirectory() && scmRootUrl != null && !"".equals( scmRootUrl ) )
  {
    config.setUrl( scmRootUrl );
  }
  else
  {
    config.setUrl( project.getScmUrl() );
  }
  // CONTINUUM-2628
  config = ContinuumScmUtils.setSCMCredentialsforSSH( config, config.getUrl(), project.getScmUsername(),
                            project.getScmPassword() );
  config.setUseCredentialsCache( project.isScmUseCache() );
  config.setWorkingDirectory( workingDirectory );
  config.setTag( project.getScmTag() );
  return config;
}

代码示例来源:origin: org.apache.continuum/continuum-core

buildDefinitionId ) );
if ( project.isCheckedOutInSingleDirectory() )

代码示例来源:origin: org.apache.continuum/continuum-core

if ( project.isCheckedOutInSingleDirectory() )

相关文章

Project类方法