blob: 33388a2baa60abf1c83d5ae025b54340d828d1cf [file] [log] [blame]
// Copyright 2020 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.devtools.build.lib.skyframe;
/** Encapsulates the experimental skyframe options that needed to be available to SkyFunctions. */
public class SkyframeExperimentalOptions {
private boolean skyframeEvalWithOrderedList;
private static final SkyframeExperimentalOptions singleton = new SkyframeExperimentalOptions();
private SkyframeExperimentalOptions() {}
public static SkyframeExperimentalOptions getInstance() {
return singleton;
}
public boolean skyframeEvalWithOrderedList() {
return skyframeEvalWithOrderedList;
}
public void setSkyframeEvalWithOrderedList(boolean skyframeEvalWithOrderedList) {
this.skyframeEvalWithOrderedList = skyframeEvalWithOrderedList;
}
}