@Override public boolean apply(ApiMetadata api) { return ApiPredicates.viewableAs(TypeToken.of(ComputeServiceContext.class)).apply(api); } }
@Override public boolean apply(ApiMetadata api) { return ApiPredicates.viewableAs(TypeToken.of(BlobStoreContext.class)).apply(api); } }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
/** * Returns all apis who's contexts are assignable from the parameter * * @param type * the type of the context to search for * * @return the apis with contexts assignable from given type */ public static Iterable<ApiMetadata> viewableAs(TypeToken<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(type)); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
/** * {@inheritDoc} */ @Override public boolean apply(ProviderMetadata providerMetadata) { return ApiPredicates.viewableAs(type).apply(providerMetadata.getApiMetadata()); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }
public static Iterable<ApiMetadata> viewableAs(Class<? extends View> type) { return filter(all(), ApiPredicates.viewableAs(typeToken(type))); }