Get the <code>{@link Trigger}</code> instance with the given name and group.
962584
@Override
  public Trigger getTrigger(String triggerKey) throws SchedulerException {

    validateState();

    return quartzSchedulerResources.getJobStore().retrieveTrigger(triggerKey);
  }
667080
public synchronized Counter findCounter(String group, String name) {
    return getGroup(group).getCounterForName(name);
  }
988691
@Override
  public List<Trigger> getTriggersOfJob(String jobKey) throws SchedulerException {

    validateState();

    return quartzSchedulerResources.getJobStore().getTriggersForJob(jobKey);
  }
1101762
public static com.liferay.commerce.product.model.CPInstance fetchCPInstanceByUuidAndGroupId(
		String uuid, long groupId) {
		return getService().fetchCPInstanceByUuidAndGroupId(uuid, groupId);
	}
779395
public Set<String> getPausedTriggerGroups(T jedis){
        final Set<String> triggerGroupSetKeys = jedis.smembers(redisSchema.pausedTriggerGroupsSet());
        Set<String> names = new HashSet<>(triggerGroupSetKeys.size());
        for (String triggerGroupSetKey : triggerGroupSetKeys) {
            names.add(redisSchema.triggerGroup(triggerGroupSetKey));
        }
        return names;
    }
350633
@Override
	public void changeTriggerState(String groupName, String jobName, final String triggerGroup, final String triggerName) throws SchedulerException {
		if (!config.isChangetTriggerStateAllowed()) {
			LOGGER.warn("not allowed to change any trigger state");
			return;
		}
		Trigger triggerFound = findTrigger(groupName, jobName, triggerGroup, triggerName);
		
		if (null != triggerFound) {
			// pause only the one trigger of job
			changeTriggerState(triggerFound);
			if (LOGGER.isDebugEnabled())
				LOGGER.debug(String.format("pausing trigger for group: %s, job: %s, trigger: %s ", groupName, jobName,
						triggerName));
		} else {
			if (LOGGER.isDebugEnabled())
				LOGGER.debug(String.format("pausing all triggers for group: %s, job: %s", groupName, jobName));
			List<? extends Trigger> triggers = scheduler.getTriggersOfJob(new JobKey(jobName, groupName));
			for (Trigger trigger : triggers) {
				// pause all triggers of job
				changeTriggerState(trigger);
			}
		}
	}
106420
@Override
    public Trigger.TriggerState getTriggerState(final TriggerKey triggerKey) throws JobPersistenceException {
        return doWithLock(new LockCallback<Trigger.TriggerState>() {
            @Override
            public Trigger.TriggerState doWithLock(JedisCommands jedis) throws JobPersistenceException {
                return storage.getTriggerState(triggerKey, jedis);
            }
        }, "Could not retrieve trigger state.");
    }
1248160
public static ThreadFactory getThreadFactory(String groupName) {
        return new ThreadFactory() {
            final AtomicInteger threadCount = new AtomicInteger();

            @Override
            public Thread newThread(Runnable r) {
                Thread thread = new Thread(r, groupName + "-" + threadCount.incrementAndGet());
                thread.setDaemon(true);
                return thread;
            }
        };
    }
1358232
public DataProviderContext on(final Trigger... triggers) {
        if (triggers != null) {
            Collections.addAll(registeredTriggers, triggers);
        }
        return this;
    }
1094295
public ICommonsSet <TriggerKey> getTriggerKeys (final GroupMatcher <TriggerKey> matcher) throws SchedulerException
  {
    validateState ();

    return m_aResources.getJobStore ().getTriggerKeys (_getOrDefault (matcher));
  }
479562
public EventTrigger getTrigger() {
    if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_trigger == null)
      jcasType.jcas.throwFeatMissing("trigger", "de.julielab.jules.types.EventMention");
    return (EventTrigger)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((EventMention_Type)jcasType).casFeatCode_trigger)));}
836877
public List<String> getTriggerGroupNames(T jedis){
        final Set<String> groupsSet = jedis.smembers(redisSchema.triggerGroupsSet());
        List<String> groups = new ArrayList<>(groupsSet.size());
        for (String group : groupsSet) {
            groups.add(redisSchema.triggerGroup(group));
        }
        return groups;
    }
850767
public Trigger<? super S> getUpdateTrigger() {
        ForUpdate<S> forUpdate = mForUpdate;
        return forUpdate.isEmpty() ? null : forUpdate;
    }
568891
function getAscendantTrigger( that ) {
		var node = that.element,
			trigger;

		if ( node && isHtml( node ) ) {
			trigger = node.getAscendant( that.triggers, true );

			// If trigger is an element, neither editable nor editable's ascendant.
			if ( trigger && that.editable.contains( trigger ) ) {
				// Check for closest editable limit.
				// Don't consider trigger as a limit as it may be nested editable (includeSelf=false) (#12009).
				var limit = getClosestEditableLimit( trigger );

				// Trigger in nested editable area.
				if ( limit.getAttribute( 'contenteditable' ) == 'true' )
					return trigger;
				// Trigger in non-editable area.
				else if ( limit.is( that.triggers ) )
					return limit;
				else
					return null;

				return trigger;
			} else
				return null;
		}

		return null;
	}
865189
@Override
    public GroupDef group(String name) {
        return new GroupDefImpl(getDescriptorName(), model, model.getOrCreate("group@qualifier=" + name));
    }
344007
public static com.liferay.commerce.product.model.CPInstance getCPInstanceByUuidAndGroupId(
		String uuid, long groupId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService().getCPInstanceByUuidAndGroupId(uuid, groupId);
	}
786853
@Override
	public void interruptTrigger(String jobGroup, String jobName, final String triggerGroup, final String triggerName) throws SchedulerException {
		if (!config.isInterruptTriggerAllowed()) {
			LOGGER.warn("not allowed to interrupt any trigger");
			return;
		}
		JobKey jobKey = new JobKey(jobName, jobGroup);
		if (isInteruptable(jobKey)) {
			List<JobExecutionContext> executingJobs = scheduler.getCurrentlyExecutingJobs();
			JobDetail jobDetail = scheduler.getJobDetail(jobKey);
			Trigger triggerFound = findTrigger(jobGroup, jobName, triggerGroup, triggerName);
			for (JobExecutionContext jobExecutionContext : executingJobs) {
				if (jobExecutionContext.getJobDetail().getKey().equals(jobDetail.getKey()) 
						&& jobExecutionContext.getTrigger().getKey().equals(triggerFound.getKey())) {
					if (LOGGER.isDebugEnabled())
						LOGGER.debug(String.format("interrupting jobTrigger (%s, %s, %s)", jobDetail.getKey().getGroup(),
								jobDetail.getKey().getName(), triggerFound.getKey().getName()));
					((InterruptableJob) jobExecutionContext.getJobInstance()).interrupt();
				}
			}
		}
	}