Class BranchProjectFactoryDescriptor

    • Constructor Detail

      • BranchProjectFactoryDescriptor

        protected BranchProjectFactoryDescriptor​(Class<? extends BranchProjectFactory<?,​?>> clazz,
                                                 Class<? extends Job> branchProjectClass)
        Explicit constructor to use when type inference fails.
        Parameters:
        clazz - the BranchProjectFactory that this descriptor is for.
        branchProjectClass - the Job type that the BranchProjectFactory creates.
        Since:
        2.0
      • BranchProjectFactoryDescriptor

        protected BranchProjectFactoryDescriptor()
        Fully inferring constructor to use when the descriptor is an inner class of the BranchProjectFactory and type parameter inference works because it just should work.
        Since:
        2.0
    • Method Detail

      • getProjectClass

        @NonNull
        public Class<? extends Job> getProjectClass()
        Returns the base class of the projects that are produced by this factory.
        Returns:
        the base class of the projects that are produced by this factory.
        Since:
        2.0