Component evidence
Evaluates whether a skill suite member can be installed based on suite visibility, member state, and namespace status. Reuse for access control in skill marketplace.
// Source: https://github.com/iflytek/skillhub | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package com.iflytek.skillhub.domain.suite;
import com.iflytek.skillhub.domain.skill.SkillStatus;
import com.iflytek.skillhub.domain.skill.SkillVersionStatus;
import com.iflytek.skillhub.domain.skill.SkillVisibility;
import com.iflytek.skillhub.domain.namespace.NamespaceStatus;
/** Evaluates the current installability of an exact member against the Suite's approved audience. */
public final class SkillSuiteMemberEligibilityPolicy {
public SkillSuiteMemberAvailability evaluate(
Long suiteNamespaceId,
SkillVisibility suiteVisibility,
SkillSuiteMemb
... (truncated -- full source via MCP)