public static boolean isDotnetMavenPlugin(String packaging) { return isDotnetMavenPlugin( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public static boolean isDotnetExecutable(String packaging) { return isDotnetExecutable( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public static boolean isDotnetAnyGac(String packaging) { return isDotnetAnyGac( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public boolean match( NetDependency netDependency ) { return ArtifactTypeHelper.isDotnetExecutable(netDependency.getType()) || ArtifactTypeHelper.isDotnetMavenPlugin(netDependency.getType()) || netDependency.getType().equals( ArtifactType.VISUAL_STUDIO_ADDIN.getPackagingType() ) || netDependency.getType().equals( ArtifactType.SHARP_DEVELOP_ADDIN.getPackagingType() ); } }
public static boolean isDotnetModule(String packaging) { return isDotnetModule( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public Repository find( String repositoryName ) throws RepositoryNotFoundException { Repository repository = repositoryRegistry.find( repositoryName ); if ( repository == null ) { throw new RepositoryNotFoundException( "NPANDAY-064-000: Could not find repository: Name = " + repositoryName ); } return repository; }
public static boolean isDotnet4Gac(String packaging) { return isDotnet4Gac( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public static boolean isDotnetLibrary(String packaging) { return isDotnetLibrary( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
public static boolean isDotnetExecutableConfig(String packaging) { return isDotnetExecutableConfig( ArtifactType.getArtifactTypeForPackagingName( packaging ) ); }
/** * Matches artifacts of type module * * @param artifact the artifact to match * @return true if artifact is of type module, otherwise returns false. */ public boolean match( Artifact artifact ) { return ArtifactTypeHelper.isDotnetModule( artifact.getType() ); } }
/** * This method may be overridden if the developer needs to create a profile of one of the other compilers. */ public void init( NPandayContext npandayContext ) { this.compilerContext = (CompilerContext) npandayContext; this.logger = npandayContext.getLogger(); }
public Repository find( String repositoryName ) throws RepositoryNotFoundException { Repository repository = repositoryRegistry.find( repositoryName ); if ( repository == null ) { throw new RepositoryNotFoundException( "NPANDAY-064-000: Could not find repository: Name = " + repositoryName ); } return repository; }
public static boolean isDotnetAnyGac(ArtifactType packaging) { return packaging.equals( ArtifactType.DOTNET_GAC ) || packaging.equals( ArtifactType.GAC_GENERIC ) || packaging.equals( ArtifactType.GAC ) || packaging.equals( ArtifactType.GAC_32) || packaging.equals( ArtifactType.GAC_32_4) || packaging.equals( ArtifactType.GAC_64) || packaging.equals( ArtifactType.GAC_64_4) || packaging.equals( ArtifactType.GAC_MSIL ) || packaging.equals( ArtifactType.GAC_MSIL4 ); }