Class AemAggregator


  • public class AemAggregator
    extends java.lang.Object
    Create all the aggregates
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AemAggregator.Mode  
    • Constructor Summary

      Constructors 
      Constructor Description
      AemAggregator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.sling.feature.Feature> aggregate()
      Create the aggregates and return the final one
      java.util.List<org.apache.sling.feature.ArtifactId> getAddOnIds()  
      org.apache.sling.feature.builder.ArtifactProvider getArtifactProvider()  
      java.io.File getFeatureOutputDirectory()  
      org.apache.sling.feature.builder.FeatureProvider getFeatureProvider()  
      org.apache.sling.feature.ArtifactId getProjectId()  
      org.apache.sling.feature.ArtifactId getSdkId()  
      void setAddOnIds​(java.util.List<org.apache.sling.feature.ArtifactId> addOnIds)  
      void setArtifactProvider​(org.apache.sling.feature.builder.ArtifactProvider artifactProvider)  
      void setFeatureOutputDirectory​(java.io.File featureOutputDirectory)  
      void setFeatureProvider​(org.apache.sling.feature.builder.FeatureProvider featureProvider)  
      void setProjectId​(org.apache.sling.feature.ArtifactId projectId)  
      void setSdkId​(org.apache.sling.feature.ArtifactId sdkId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AemAggregator

        public AemAggregator()
    • Method Detail

      • getArtifactProvider

        public org.apache.sling.feature.builder.ArtifactProvider getArtifactProvider()
        Returns:
        the artifactProvider
      • setArtifactProvider

        public void setArtifactProvider​(org.apache.sling.feature.builder.ArtifactProvider artifactProvider)
        Parameters:
        artifactProvider - the artifactProvider to set
      • getFeatureProvider

        public org.apache.sling.feature.builder.FeatureProvider getFeatureProvider()
        Returns:
        the featureProvider
      • setFeatureProvider

        public void setFeatureProvider​(org.apache.sling.feature.builder.FeatureProvider featureProvider)
        Parameters:
        featureProvider - the featureProvider to set
      • getProjectId

        public org.apache.sling.feature.ArtifactId getProjectId()
        Returns:
        the projectId
      • setProjectId

        public void setProjectId​(org.apache.sling.feature.ArtifactId projectId)
        Parameters:
        projectId - the projectId to set
      • getFeatureOutputDirectory

        public java.io.File getFeatureOutputDirectory()
        Returns:
        the featureOutputDirectory
      • setFeatureOutputDirectory

        public void setFeatureOutputDirectory​(java.io.File featureOutputDirectory)
        Parameters:
        featureOutputDirectory - the featureOutputDirectory to set
      • getSdkId

        public org.apache.sling.feature.ArtifactId getSdkId()
        Returns:
        the sdkId
      • setSdkId

        public void setSdkId​(org.apache.sling.feature.ArtifactId sdkId)
        Parameters:
        sdkId - the sdkId to set
      • getAddOnIds

        public java.util.List<org.apache.sling.feature.ArtifactId> getAddOnIds()
        Returns:
        the addOnIds
      • setAddOnIds

        public void setAddOnIds​(java.util.List<org.apache.sling.feature.ArtifactId> addOnIds)
        Parameters:
        addOnIds - the addOnIds to set
      • aggregate

        public java.util.List<org.apache.sling.feature.Feature> aggregate()
                                                                   throws java.io.IOException
        Create the aggregates and return the final one
        Returns:
        The list of final aggregates
        Throws:
        java.io.IOException - If something goes wrong