Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-797

Use PackageState instead of int

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NCC-1.4.5
    • Fix Version/s: NCC-1.4.17
    • Component/s: nuxeo-connect-client
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      New methods:

      • org.nuxeo.connect.update.Package.getPackageState()
      • org.nuxeo.connect.data.PackageDescriptor.setPackageState(PackageState)
      • org.nuxeo.connect.data.PackageDescriptor.setPackageState(int)
      • org.nuxeo.connect.data.PackageDescriptor.setPackageStateAsJSON(String)

      Deprecated methods:

      • org.nuxeo.connect.update.Package.getState()
      • org.nuxeo.connect.data.PackageDescriptor.setState(int)
      Show
      New methods: org.nuxeo.connect.update.Package.getPackageState() org.nuxeo.connect.data.PackageDescriptor.setPackageState(PackageState) org.nuxeo.connect.data.PackageDescriptor.setPackageState(int) org.nuxeo.connect.data.PackageDescriptor.setPackageStateAsJSON(String) Deprecated methods: org.nuxeo.connect.update.Package.getState() org.nuxeo.connect.data.PackageDescriptor.setState(int)
    • Sprint:
      DevOps Sprint 6
    • Story Points:
      1

      Description

      Since 1.4.5, it is recommended to use PackageState instead of int.
      Add a org.nuxeo.connect.update.Package.getPackageState() method.
      Deprecate org.nuxeo.connect.update.Package.getState().
      Remove deprecated use of org.nuxeo.connect.update.Package.getState().

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: