Home Reference Source

src/configuration/resource-parser-config.js

/**
 * Configuration for a {@link ResourceParserConfig}
 */
export default class ResourceParserConfig {
  /**
   * Construct a new {@link ResourceParserConfig}
   * @constructor
   * @param {string} openshiftURL The URL of the OpenShift to interact with.
   * @param {boolean} mockData Whether or not to return mock data from the library.
   */
  constructor(openshiftURL, mockData = false) {
    this.openshiftURL = openshiftURL;
    this.mockData = mockData;
  }
}