Class ManageDistributionsDialog

    • Method Detail

      • showDialog

        public static void showDialog​(Frame ownerFrame,
                                      CloudFrontService cloudFrontService,
                                      String[] bucketNames,
                                      HyperlinkActivatedListener hyperlinkListener)
        Dialog box for displaying and modifying CloudFront distributions.
        Parameters:
        ownerFrame - the frame that will own the dialog.
        cloudFrontService - a CloudFrontService that will be used to query and update distributions. This service must be initialised with the necessary AWS credentials to perform the API operations.
        hyperlinkListener - the listener that will act on any hyperlink events triggered by the user clicking on HTTP links.
      • followHyperlink

        public void followHyperlink​(URL url,
                                    String target)
        Description copied from interface: HyperlinkActivatedListener
        This method is triggered when an HTML link is activated, such as by an HTML link in a JHtmlLabel - any class that implements this listener should do something useful with the triggered hyperlink, preferrably opening it in a web browser.
        Specified by:
        followHyperlink in interface HyperlinkActivatedListener
        Parameters:
        url - the url contained in the href.
        target - the target attribute of the href, may be null if the attribute is not present.
      • main

        public static void main​(String[] args)
                         throws Exception
        TODO: Remove once testing is complete.
        Parameters:
        args -
        Throws:
        Exception