blob: bb8416a0af24f4de86854622ed1d2980914c2257 [file] [log] [blame]
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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.android.sched.scheduler;
import com.android.sched.item.Description;
import com.android.sched.item.Name;
import com.android.sched.item.onlyfor.OnlyFor;
import com.android.sched.item.onlyfor.SchedTest;
import com.android.sched.schedulable.Constraint;
import com.android.sched.schedulable.RunnableSchedulable;
import com.android.sched.schedulable.Transform;
import com.android.sched.tag.Tag1;
import com.android.sched.tag.Tag2;
import com.android.sched.tag.Tag3;
import com.android.sched.tag.Tag4;
import com.android.sched.tag.Tag5;
import javax.annotation.Nonnull;
@Name("Runner Error 5")
@Description("Runner Error 5 description")
@OnlyFor(SchedTest.class)
@Constraint(need = {Tag1.class, Tag2.class, Tag3.class, Tag5.class},
no = {Tag2.class, Tag4.class, Tag5.class})
@Transform(add = Tag1.class, remove = Tag2.class)
public class RunnerError5 implements RunnableSchedulable<Component0> {
@Override
public void run(@Nonnull Component0 t) {}
}