Package org.redline_rpm.header

Examples of org.redline_rpm.header.RpmType


   */
  public void run( XmlEditor editor, String name, String version, String release, Contents include, File destination) throws NoSuchAlgorithmException, IOException {
    Builder builder = new Builder();
    builder.setPackage( name, version, release);
   
    RpmType type = RpmType.valueOf( editor.getValue( "rpm:type", BINARY.toString()));
    builder.setType( type);
   
    Architecture arch = Architecture.valueOf( editor.getValue( "rpm:architecture", NOARCH.toString()));
    Os os = Os.valueOf( editor.getValue( "rpm:os", LINUX.toString()));
    builder.setPlatform( arch, os);
View Full Code Here

TOP

Related Classes of org.redline_rpm.header.RpmType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.