code: private void maxArtifactDetails() {
          final Boolean flag = (Boolean) maxMinButton.getData();
          if (flag == null || Boolean.FALSE.equals(flag)) {
              // Clicked on max Button
              maximizedArtifactDetailsView();
          } else {
              minimizedArtifactDetailsView();
          }
      }
docs: will be used by button click listener of action history expand icon.