Class EditMaintenance

  • public class EditMaintenance
    extends Object
    Allows setting values from the Maintenance screen
    • Field Detail

      • webTester

        protected final net.sourceforge.jwebunit.junit.WebTester webTester
      • workingForm

        protected final String workingForm
    • Constructor Detail

      • EditMaintenance

        protected EditMaintenance​(net.sourceforge.jwebunit.junit.WebTester webTester,
                                  String workingForm)
    • Method Detail

      • editMaintenanceFromAnywhere

        public static EditMaintenance editMaintenanceFromAnywhere()
        Factory method to visit the edit configuration screen from anywhere.
        a new EditGeneralConfiguration ready to use.
      • editMaintenanceFromAnywhere

        public static EditMaintenance editMaintenanceFromAnywhere​(net.sourceforge.jwebunit.junit.WebTester webTester)
      • editMaintenanceFromView

        public static EditMaintenance editMaintenanceFromView​(net.sourceforge.jwebunit.junit.WebTester webTester)
      • submit

        public void submit()
        Submit and don't construct a new state. Useful in tearDowns when you aren't going to want to do anything with the result.
      • setReadOnlyModeEnabled

        public EditMaintenance setReadOnlyModeEnabled​(boolean enabled)
      • setBannerMessageEnabled

        public EditMaintenance setBannerMessageEnabled​(boolean enabled)
      • isOptionEnabled

        protected boolean isOptionEnabled​(String optionName)
      • setOption

        protected void setOption​(boolean enabled,
                                 String name)