Class Label.Smart

    • Constructor Detail

      • Smart

        public Smart​(Label lbl)
        Public ctor.
        Parameters:
        lbl - Label
    • Method Detail

      • color

        public void color​(String color)
                   throws IOException
        Set its color.
        Parameters:
        color - Color to set
        Throws:
        IOException - If there is any I/O problem
      • repo

        public Repo repo()
        Description copied from interface: Label
        The repo we're in.
        Specified by:
        repo in interface Label
        Returns:
        Issue
      • name

        public String name()
        Description copied from interface: Label
        Name of it.
        Specified by:
        name in interface Label
        Returns:
        Name
      • patch

        public void patch​(javax.json.JsonObject json)
                   throws IOException
        Description copied from interface: JsonPatchable
        Patch using this JSON object.
        Specified by:
        patch in interface JsonPatchable
        Parameters:
        json - JSON object
        Throws:
        IOException - If there is any I/O problem
      • json

        public javax.json.JsonObject json()
                                   throws IOException
        Description copied from interface: JsonReadable
        Describe it in a JSON object.
        Specified by:
        json in interface JsonReadable
        Returns:
        JSON object
        Throws:
        IOException - If there is any I/O problem