Package org.sonatype.nexus.supportzip

Examples of org.sonatype.nexus.supportzip.GeneratedContentSourceSupport


          DatabaseManagerImpl.WORK_PATH,
          databaseInstance.get().getName(),
          DatabaseExternalizer.EXPORT_FILENAME
      );

      supportBundle.add(new GeneratedContentSourceSupport(Type.CONFIG, path, Priority.REQUIRED)
      {
        @Override
        protected void generate(final File file) throws Exception {
          // output non-compressed, no need to double compress contents
          try (OutputStream output = new BufferedOutputStream(new FileOutputStream(file))) {
View Full Code Here


          DatabaseManagerImpl.WORK_PATH,
          databaseInstance.get().getName(),
          DatabaseExternalizer.EXPORT_FILENAME
      );

      supportBundle.add(new GeneratedContentSourceSupport(Type.SECURITY, path, Priority.REQUIRED)
      {
        @Override
        protected void generate(final File file) throws Exception {
          // output non-compressed, no need to double compress contents
          try (OutputStream output = new BufferedOutputStream(new FileOutputStream(file))) {
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.supportzip.GeneratedContentSourceSupport

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.