Class BranchSpecSummary

    • Field Detail

      • accessed

        protected java.util.Date accessed
      • updated

        protected java.util.Date updated
      • name

        protected java.lang.String name
      • ownerName

        protected java.lang.String ownerName
      • description

        protected java.lang.String description
      • locked

        protected boolean locked
    • Constructor Detail

      • BranchSpecSummary

        public BranchSpecSummary()
        Default constructor -- sets all fields to null or false.
      • BranchSpecSummary

        public BranchSpecSummary​(boolean summaryOnly)
        Default constructor; same as no-argument default constructor, except that it sets the ServerResource superclass fields appropriately for summary only (everything false) or full branch spec (updateable and refreshable).
        Parameters:
        summaryOnly - summary only (everything false) or full branch spec
      • BranchSpecSummary

        public BranchSpecSummary​(boolean summaryOnly,
                                 java.util.Date accessed,
                                 java.util.Date updated,
                                 java.lang.String name,
                                 java.lang.String ownerName,
                                 java.lang.String description,
                                 boolean locked)
        Explicit-value constructor. If summaryOnly is true, refreshable and updeateable are set true in the ServerResource superclass, otherwise they're set false.
        Parameters:
        summaryOnly - summary only (everything false) or full branch spec
        accessed - date
        updated - date
        name - name
        ownerName - owner
        description - description
        locked - locked
      • BranchSpecSummary

        public BranchSpecSummary​(java.util.Map<java.lang.String,​java.lang.Object> map,
                                 boolean summaryOnly)
        Construct a BranchSpecSummary from a map returned by the Perforce server. If summaryOnly is true, this map was returned by the IServer getBranchSummaryList or similar summary-only method; otherwise it's assumed to be the full branch spec.

        If map is null, this is equivalent to calling the default summaryOnly-argument constructor.

        Parameters:
        map - spec map
        summaryOnly - summary only (everything false) or full branch spec