code
stringlengths
4
1.01M
language
stringclasses
2 values
/** * Copyright (C) 2016 - 2030 youtongluan. * * 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 org.yx.asm; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.objectweb.asm.ClassReader; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.yx.bean.Loader; import org.yx.conf.AppInfo; import org.yx.exception.SumkException; import org.yx.log.Log; import org.yx.log.Logs; import org.yx.main.StartContext; public final class AsmUtils { private static Method defineClass; static { try { defineClass = getMethod(ClassLoader.class, "defineClass", new Class<?>[] { String.class, byte[].class, int.class, int.class }); defineClass.setAccessible(true); } catch (Exception e) { Log.printStack("sumk.error", e); StartContext.startFailed(); } } public static String proxyCalssName(Class<?> clz) { String name = clz.getName(); int index = name.lastIndexOf('.'); return name.substring(0, index) + ".sumkbox" + name.substring(index); } public static int asmVersion() { return AppInfo.getInt("sumk.asm.version", Opcodes.ASM7); } public static int jvmVersion() { return AppInfo.getInt("sumk.asm.jvm.version", Opcodes.V1_8); } public static InputStream openStreamForClass(String name) { String internalName = name.replace('.', '/') + ".class"; return Loader.getResourceAsStream(internalName); } public static boolean sameType(Type[] types, Class<?>[] clazzes) { if (types.length != clazzes.length) { return false; } for (int i = 0; i < types.length; i++) { if (!Type.getType(clazzes[i]).equals(types[i])) { return false; } } return true; } public static List<MethodParamInfo> buildMethodInfos(List<Method> methods) throws IOException { Map<Class<?>, List<Method>> map = new HashMap<>(); for (Method m : methods) { List<Method> list = map.get(m.getDeclaringClass()); if (list == null) { list = new ArrayList<>(); map.put(m.getDeclaringClass(), list); } list.add(m); } List<MethodParamInfo> ret = new ArrayList<>(); for (List<Method> ms : map.values()) { ret.addAll(buildMethodInfos(ms.get(0).getDeclaringClass(), ms)); } return ret; } private static List<MethodParamInfo> buildMethodInfos(Class<?> declaringClass, List<Method> methods) throws IOException { String classFullName = declaringClass.getName(); ClassReader cr = new ClassReader(openStreamForClass(classFullName)); MethodInfoClassVisitor cv = new MethodInfoClassVisitor(methods); cr.accept(cv, 0); return cv.getMethodInfos(); } public static Method getMethod(Class<?> clz, String methodName, Class<?>[] paramTypes) { while (clz != Object.class) { Method[] ms = clz.getDeclaredMethods(); for (Method m : ms) { if (!m.getName().equals(methodName)) { continue; } Class<?>[] paramTypes2 = m.getParameterTypes(); if (!Arrays.equals(paramTypes2, paramTypes)) { continue; } return m; } clz = clz.getSuperclass(); } return null; } public static Class<?> loadClass(String fullName, byte[] b) throws Exception { String clzOutPath = AppInfo.get("sumk.asm.debug.output"); if (clzOutPath != null && clzOutPath.length() > 0) { try { File f = new File(clzOutPath, fullName + ".class"); try (FileOutputStream fos = new FileOutputStream(f)) { fos.write(b); fos.flush(); } } catch (Exception e) { if (Logs.asm().isTraceEnabled()) { Logs.asm().error(e.getLocalizedMessage(), e); } } } synchronized (AsmUtils.class) { try { return Loader.loadClass(fullName); } catch (Throwable e) { if (!(e instanceof ClassNotFoundException)) { Logs.asm().warn(fullName + " 加载失败", e); } } Class<?> clz = (Class<?>) defineClass.invoke(Loader.loader(), fullName, b, 0, b.length); if (clz == null) { throw new SumkException(-235345436, "cannot load class " + fullName); } return clz; } } public static final int BADMODIFIERS = Modifier.ABSTRACT | Modifier.STATIC | Modifier.FINAL | Modifier.PRIVATE; public static boolean notPublicOnly(int modifiers) { return (modifiers & (Modifier.PUBLIC | BADMODIFIERS)) != Modifier.PUBLIC; } public static boolean canProxy(int modifiers) { return (modifiers & BADMODIFIERS) == 0; } public static List<Object> getImplicitFrame(String desc) { List<Object> locals = new ArrayList<>(5); if (desc.isEmpty()) { return locals; } int i = 0; while (desc.length() > i) { int j = i; switch (desc.charAt(i++)) { case 'Z': case 'C': case 'B': case 'S': case 'I': locals.add(Opcodes.INTEGER); break; case 'F': locals.add(Opcodes.FLOAT); break; case 'J': locals.add(Opcodes.LONG); break; case 'D': locals.add(Opcodes.DOUBLE); break; case '[': while (desc.charAt(i) == '[') { ++i; } if (desc.charAt(i) == 'L') { ++i; while (desc.charAt(i) != ';') { ++i; } } locals.add(desc.substring(j, ++i)); break; case 'L': while (desc.charAt(i) != ';') { ++i; } locals.add(desc.substring(j + 1, i++)); break; default: break; } } return locals; } public static Method getSameMethod(Method method, Class<?> otherClass) { Class<?> clz = method.getDeclaringClass(); if (clz == otherClass) { return method; } String methodName = method.getName(); Class<?>[] argTypes = method.getParameterTypes(); Method[] proxyedMethods = otherClass.getMethods(); for (Method proxyedMethod : proxyedMethods) { if (proxyedMethod.getName().equals(methodName) && Arrays.equals(argTypes, proxyedMethod.getParameterTypes()) && !proxyedMethod.getDeclaringClass().isInterface()) { return proxyedMethod; } } return method; } }
Java
# Jacksonia aculeata W.Fitzg. SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
/********************************************************************** Copyright (c) 2009 Stefan Seelmann. 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.example.dao; import java.util.Collection; import com.example.Team; public class TeamDao extends AbstractDao<Team> { public Collection<Team> findByName( String name ) { return super.findByQuery( "name.startsWith(s1)", "java.lang.String s1", name ); } public Team loadWithUsers( Object id ) { return super.load( id, "users" ); } public Team load( Object id ) { return super.load( id ); } public Collection<Team> loadAll() { return super.loadAll(); } }
Java
# Copyright 2015 Google Inc. # # 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. require 'google/apis/core/base_service' require 'google/apis/core/json_representation' require 'google/apis/core/hashable' require 'google/apis/errors' module Google module Apis module LifesciencesV2beta # Cloud Life Sciences API # # Cloud Life Sciences is a suite of services and tools for managing, processing, # and transforming life sciences data. # # @example # require 'google/apis/lifesciences_v2beta' # # Lifesciences = Google::Apis::LifesciencesV2beta # Alias the module # service = Lifesciences::CloudLifeSciencesService.new # # @see https://cloud.google.com/life-sciences class CloudLifeSciencesService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user def initialize super('https://lifesciences.googleapis.com/', '') @batch_path = 'batch' end # Gets information about a location. # @param [String] name # Resource name for the location. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::Location] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::Location] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta/{+name}', options) command.response_representation = Google::Apis::LifesciencesV2beta::Location::Representation command.response_class = Google::Apis::LifesciencesV2beta::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists information about the supported locations for this service. # @param [String] name # The resource that owns the locations collection, if applicable. # @param [String] filter # The standard list filter. # @param [Fixnum] page_size # The standard list page size. # @param [String] page_token # The standard list page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::ListLocationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::ListLocationsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta/{+name}/locations', options) command.response_representation = Google::Apis::LifesciencesV2beta::ListLocationsResponse::Representation command.response_class = Google::Apis::LifesciencesV2beta::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Starts asynchronous cancellation on a long-running operation. The server makes # a best effort to cancel the operation, but success is not guaranteed. Clients # may use Operations.GetOperation or Operations.ListOperations to check whether # the cancellation succeeded or the operation completed despite cancellation. # Authorization requires the following [Google IAM](https://cloud.google.com/iam) # permission: * `lifesciences.operations.cancel` # @param [String] name # The name of the operation resource to be cancelled. # @param [Google::Apis::LifesciencesV2beta::CancelOperationRequest] cancel_operation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta/{+name}:cancel', options) command.request_representation = Google::Apis::LifesciencesV2beta::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::LifesciencesV2beta::Empty::Representation command.response_class = Google::Apis::LifesciencesV2beta::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets the latest state of a long-running operation. Clients can use this method # to poll the operation result at intervals as recommended by the API service. # Authorization requires the following [Google IAM](https://cloud.google.com/iam) # permission: * `lifesciences.operations.get` # @param [String] name # The name of the operation resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta/{+name}', options) command.response_representation = Google::Apis::LifesciencesV2beta::Operation::Representation command.response_class = Google::Apis::LifesciencesV2beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists operations that match the specified filter in the request. Authorization # requires the following [Google IAM](https://cloud.google.com/iam) permission: * # `lifesciences.operations.list` # @param [String] name # The name of the operation's parent resource. # @param [String] filter # A string for filtering Operations. The following filter fields are supported: * # createTime: The time this job was created * events: The set of event (names) # that have occurred while running the pipeline. The : operator can be used to # determine if a particular event has occurred. * error: If the pipeline is # running, this value is NULL. Once the pipeline finishes, the value is the # standard Google error code. * labels.key or labels."key with space" where key # is a label key. * done: If the pipeline is running, this value is false. Once # the pipeline finishes, the value is true. # @param [Fixnum] page_size # The maximum number of results to return. The maximum value is 256. # @param [String] page_token # The standard list page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::ListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::ListOperationsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta/{+name}/operations', options) command.response_representation = Google::Apis::LifesciencesV2beta::ListOperationsResponse::Representation command.response_class = Google::Apis::LifesciencesV2beta::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Runs a pipeline. The returned Operation's metadata field will contain a google. # cloud.lifesciences.v2beta.Metadata object describing the status of the # pipeline execution. The response field will contain a google.cloud. # lifesciences.v2beta.RunPipelineResponse object if the pipeline completes # successfully. **Note:** Before you can use this method, the *Life Sciences # Service Agent* must have access to your project. This is done automatically # when the Cloud Life Sciences API is first enabled, but if you delete this # permission you must disable and re-enable the API to grant the Life Sciences # Service Agent the required permissions. Authorization requires the following [ # Google IAM](https://cloud.google.com/iam/) permission: * `lifesciences. # workflows.run` # @param [String] parent # The project and location that this request should be executed against. # @param [Google::Apis::LifesciencesV2beta::RunPipelineRequest] run_pipeline_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::LifesciencesV2beta::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::LifesciencesV2beta::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def run_pipeline(parent, run_pipeline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta/{+parent}/pipelines:run', options) command.request_representation = Google::Apis::LifesciencesV2beta::RunPipelineRequest::Representation command.request_object = run_pipeline_request_object command.response_representation = Google::Apis::LifesciencesV2beta::Operation::Representation command.response_class = Google::Apis::LifesciencesV2beta::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? end end end end end
Java
package com.metrink.action; import org.apache.commons.mail.EmailException; import org.apache.commons.mail.SimpleEmail; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.inject.Provider; import com.metrink.alert.ActionBean; import com.metrink.alert.AlertBean; import com.metrink.metric.Metric; /** * The base action for all SMS actions. * * A list of gateways can be found here: http://www.emailtextmessages.com/ * */ public abstract class SmsAction implements Action { private static final Logger LOG = LoggerFactory.getLogger(SmsAction.class); private final Provider<SimpleEmail> emailProvider; public SmsAction(final Provider<SimpleEmail> emailProvider) { this.emailProvider = emailProvider; } @Override public void triggerAction(Metric metric, AlertBean alertBean, ActionBean actionBean) { final String toAddr = constructAddress(actionBean.getValue()); final String alertQuery = alertBean.getAlertQuery().substring(0, alertBean.getAlertQuery().lastIndexOf(" do ")); final StringBuilder sb = new StringBuilder(); sb.append(metric.getId()); sb.append(" "); sb.append(metric.getValue()); sb.append(" triggered "); sb.append(alertQuery); try { final SimpleEmail email = emailProvider.get(); email.addTo(toAddr); email.setSubject("METRINK Alert"); email.setMsg(sb.toString()); final String messageId = email.send(); LOG.info("Sent message {} to {}", messageId, toAddr); } catch (final EmailException e) { LOG.error("Error sending email: {}", e.getMessage()); } } /** * Given a phone number, create the address for the gateway. * @param phoneNumber the phone number. * @return the email address to use. */ protected abstract String constructAddress(String phoneNumber); }
Java
/* Fix a gap in ui-bootstrap's styling */ .nav, .pagination, .carousel, .panel-title a { cursor: pointer; } body { min-height: 2000px; padding-top: 70px; } /* Fix tag filters on index page */ #tags span.label { font-size: 100%; line-height: 2; margin: 2px; } .label-toggle { cursor: pointer; } /* Doc card *******************/ .doc-list { vertical-align: top; } .doc { background: rgba(226,226,226,1); padding: 10px 20px; border: 2px #fff solid; border-radius: 20px; margin: 10px; display: inline-block; width: 350px; cursor: pointer; text-decoration: none; color: black; } .doc:hover { text-decoration: none; } .thumb { display: inline-block; float: right; text-align: center; padding-top: 5px; width: 100px; } .doc dl { margin-bottom: 10px; } .filename { overflow: hidden; white-space: nowrap; width: 200px; position: relative; } .filename:after { content: ""; width: 50px; height: 50px; position: absolute; top: 0; right: 0; background: -moz-linear-gradient(left, rgba(226,226,226,0) 0%, rgba(226,226,226,1) 100%); background: -webkit-linear-gradient(left, rgba(226,226,226,0) 0%, rgba(226,226,226,1) 100%); background: -o-linear-gradient(left, rgba(226,226,226,0) 0%, rgba(226,226,226,1) 100%); background: -ms-linear-gradient(left, rgba(226,226,226,0) 0%, rgba(226,226,226,1) 100%); background: linear-gradient(left, rgba(226,226,226,0) 0%, rgba(226,226,226,1) 100%); } /* Draggable thumbnail **********************************************/ #properties { width: 400px; display: inline-block; vertical-align: top; } #thumbnail { width: 400px; display: inline-block; } #full-image-viewport { height: 400px; width: 400px; overflow: hidden; border: solid thin black; } #full-image { position: relative; cursor: move; } /* Drag and drop upload *****************************************/ .drop-box { background: #F8F8F8; border: 5px dashed #DDD; border-radius: 7px; width: 300px; height: 200px; text-align: center; padding-top: 50px; font-size: 18pt; font-weight: bold; } .drop-box.dragover { border: 5px dashed blue; }
Java
/** * Copyright 2017-2019 The GreyCat Authors. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * 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 greycat.internal.task; import greycat.*; import greycat.base.BaseNode; import greycat.plugin.Job; import greycat.struct.Buffer; class ActionDelete implements Action { @Override public void eval(final TaskContext ctx) { TaskResult previous = ctx.result(); DeferCounter counter = ctx.graph().newCounter(previous.size()); for (int i = 0; i < previous.size(); i++) { if (previous.get(i) instanceof BaseNode) { ((Node) previous.get(i)).drop(new Callback() { @Override public void on(Object result) { counter.count(); } }); } } counter.then(new Job() { @Override public void run() { previous.clear(); ctx.continueTask(); } }); } @Override public void serialize(final Buffer builder) { builder.writeString(CoreActionNames.DELETE); builder.writeChar(Constants.TASK_PARAM_OPEN); builder.writeChar(Constants.TASK_PARAM_CLOSE); } @Override public final String name() { return CoreActionNames.DELETE; } }
Java
//Declare app level module which depends on filters, and services var SFApplicationAuth = angular.module('SFApplicationAuth.Auth',[]); SFApplicationAuth.config( [ '$stateProvider', '$urlRouterProvider', function ( $stateProvider, $urlRouterProvider ) { console.log("inciando bootstrap auth"); $stateProvider.state('auth', { url: '/auth', abstract: true, templateUrl: 'modules/auth/partials/template.html', data: { isPublic: true } }); $stateProvider.state('auth.login', { url: '/login', templateUrl: 'modules/auth/partials/login.html', controller: 'AuthController' }); $stateProvider.state('auth.logout', { url: '/logout', controller: 'LogoutController' }); $stateProvider.state('auth.reset-password', { url: '/reset-password', templateUrl: 'application/auth/partials/reset-password.html', controller: 'AuthController' }); }]); SFApplicationAuth.run(['$rootScope', '$state', '$location', '$log', 'authFactory', function($rootScope, $state, $location, $log, authFactory) { $log.log('Running Auth...'); $rootScope.$on('$stateChangeStart', function (event, toState, toParams, fromState, fromParams) { $log.log('$stateChangeStart'); if( toState && ( "data" in toState ) === true && ( "isPublic" in toState.data ) === true && toState.data.isPublic == true ) { $log.log( 'Public page...' ); } else if( toState && ( "data" in toState ) === true && ( ( "isPublic" in toState.data ) === false || ( "isPublic" in toState.data ) === true && toState.data.isPublic == false ) ) { $log.log( 'Private page...' ); /** * Check if has some webSession active and do the logout. */ if( ! authFactory.checkIsLogged() ) { $log.error( 'You don\'t have permission to access this area.' ); /** * Prevent Default action. */ event.preventDefault(); $log.log( 'Fazendo loggof' ); /** * Redirect to login */ $state.go( 'auth.logout' ); } } }); $rootScope.$on('$stateChangeSuccess', function(next, current) { $log.log('$stateChangeSuccess'); }); $rootScope.$on('$stateChangeError', function( event, toState, toParams, fromState, fromParams, rejection) { $log.log('$stateChangeError'); }); $rootScope.$on('$stateUpdate', function(next, current) { $log.log('$stateUpdate'); }); $rootScope.$on('$stateNotFound', function(event, unfoundState, fromState, fromParams){ $log.log('$stateNotFound'); $log.log(unfoundState.to); // "lazy.state" $log.log(unfoundState.toParams); // {a:1, b:2} $log.log(unfoundState.options); // {inherit:false} + default options }); $rootScope.$on('$viewContentLoading', function(event, viewConfig){ $log.log('$viewContentLoading'); }); $rootScope.$on('$viewContentLoaded', function(event, viewConfig){ $log.log('$viewContentLoaded'); }); }]);
Java
package com.at.springboot.mybatis.po; public class JsonUser { /** * This field was generated by MyBatis Generator. This field corresponds to the database column JSON_USER.JSON_USER_ID * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ private byte[] jsonUserId; /** * This field was generated by MyBatis Generator. This field corresponds to the database column JSON_USER.USER_NAME * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ private String userName; /** * This field was generated by MyBatis Generator. This field corresponds to the database column JSON_USER.LAST_LOGIN_RESULT * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ private String lastLoginResult; /** * This field was generated by MyBatis Generator. This field corresponds to the database column JSON_USER.LAST_LOGIN_INFO * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ private String lastLoginInfo; /** * This method was generated by MyBatis Generator. This method returns the value of the database column JSON_USER.JSON_USER_ID * @return the value of JSON_USER.JSON_USER_ID * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public byte[] getJsonUserId() { return jsonUserId; } /** * This method was generated by MyBatis Generator. This method sets the value of the database column JSON_USER.JSON_USER_ID * @param jsonUserId the value for JSON_USER.JSON_USER_ID * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public void setJsonUserId(byte[] jsonUserId) { this.jsonUserId = jsonUserId; } /** * This method was generated by MyBatis Generator. This method returns the value of the database column JSON_USER.USER_NAME * @return the value of JSON_USER.USER_NAME * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public String getUserName() { return userName; } /** * This method was generated by MyBatis Generator. This method sets the value of the database column JSON_USER.USER_NAME * @param userName the value for JSON_USER.USER_NAME * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public void setUserName(String userName) { this.userName = userName == null ? null : userName.trim(); } /** * This method was generated by MyBatis Generator. This method returns the value of the database column JSON_USER.LAST_LOGIN_RESULT * @return the value of JSON_USER.LAST_LOGIN_RESULT * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public String getLastLoginResult() { return lastLoginResult; } /** * This method was generated by MyBatis Generator. This method sets the value of the database column JSON_USER.LAST_LOGIN_RESULT * @param lastLoginResult the value for JSON_USER.LAST_LOGIN_RESULT * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public void setLastLoginResult(String lastLoginResult) { this.lastLoginResult = lastLoginResult == null ? null : lastLoginResult.trim(); } /** * This method was generated by MyBatis Generator. This method returns the value of the database column JSON_USER.LAST_LOGIN_INFO * @return the value of JSON_USER.LAST_LOGIN_INFO * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public String getLastLoginInfo() { return lastLoginInfo; } /** * This method was generated by MyBatis Generator. This method sets the value of the database column JSON_USER.LAST_LOGIN_INFO * @param lastLoginInfo the value for JSON_USER.LAST_LOGIN_INFO * @mbg.generated Thu Aug 29 17:59:18 CST 2019 */ public void setLastLoginInfo(String lastLoginInfo) { this.lastLoginInfo = lastLoginInfo == null ? null : lastLoginInfo.trim(); } }
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package br.com.stylehair.servicos; import br.com.stylehair.dao.AgendamentoDAO; import br.com.stylehair.entity.Agendamento; import com.google.gson.Gson; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; /** * * @author vinicius */ @Stateless @Path("agendamento") public class AgendamentoResource { @PersistenceContext(unitName = "StyleHairPU") private EntityManager em; private Gson gson = new Gson(); @Context private UriInfo context; @GET @Produces("application/json") public String getJson() { AgendamentoDAO dao = new AgendamentoDAO(em); List<Agendamento> agendamentos; agendamentos = dao.buscarTodosAgendamentos(); return gson.toJson(agendamentos); } @GET @Path("{agendamentoId}") @Produces("application/json") public String getAgendamento(@PathParam("agendamentoId") String id){ System.out.println("pegando o cliente"); Long n = Long.parseLong(id); System.out.println(n); AgendamentoDAO dao = new AgendamentoDAO(em); Agendamento agend = dao.consultarPorId(Agendamento.class, Long.parseLong(id)); return gson.toJson(agend); } @GET @Path("{buscardata}/{dia}/{mes}/{ano}") @Produces("application/json") public String getAgendamentoPorData(@PathParam("dia") String dia,@PathParam("mes") String mes,@PathParam("ano") String ano ) { AgendamentoDAO dao = new AgendamentoDAO(em); List<Agendamento> agendamentos; SimpleDateFormat dateFormat_hora = new SimpleDateFormat("HH:mm"); Date data = new Date(); String horaAtual = dateFormat_hora.format(data); System.out.println("hora Atual" + horaAtual); Date d1 = new Date(); SimpleDateFormat dateFormataData = new SimpleDateFormat("dd/MM/yyyy"); String dataHoje = dateFormataData.format(d1); System.out.println("dataHoje ----" + dataHoje + "-------- " + dia+"/"+mes+"/"+ano ); if(dataHoje.equalsIgnoreCase(dia+"/"+mes+"/"+ano)){ agendamentos = dao.buscarAgendamentoPorData(dia+"/"+mes+"/"+ano + " ",horaAtual); return gson.toJson(agendamentos); } agendamentos = dao.buscarAgendamentoPorData(dia+"/"+mes+"/"+ano + " ","08:00"); return gson.toJson(agendamentos); } @POST @Consumes("application/json") @Produces("application/json") public String salvarAgendamento(String agendamento) throws Exception{ Agendamento ag1 = gson.fromJson(agendamento, Agendamento.class); AgendamentoDAO dao = new AgendamentoDAO(em); return gson.toJson(dao.salvar(ag1)); } @PUT @Consumes("application/json") public void atualizarAgendamento(String agendamento) throws Exception { salvarAgendamento(agendamento); } }
Java
const spinny = 'div.spinny'; exports.command = function navigateTo (url, expectSpinny = true) { this.url('data:,'); // https://github.com/nightwatchjs/nightwatch/issues/1724 this.url(url); if (expectSpinny) { this.waitForElementVisible(spinny); this.waitForElementNotVisible(spinny); } return this; };
Java
package com.sampleapp.base; import android.app.Application; import com.crashlytics.android.Crashlytics; import com.sampleapp.BuildConfig; import com.sampleapp.utils.UtilsModule; import io.fabric.sdk.android.Fabric; import timber.log.Timber; /** * Created by saveen_dhiman on 05-November-16. * Initialization of required libraries */ public class SampleApplication extends Application { private AppComponent mAppComponent; @Override public void onCreate() { super.onCreate(); Fabric.with(this, new Crashlytics()); //create component mAppComponent = DaggerAppComponent.builder() .utilsModule(new UtilsModule(this)).build(); //configure timber for logging if (BuildConfig.DEBUG) { Timber.plant(new Timber.DebugTree()); } } public AppComponent getAppComponent() { return mAppComponent; } }
Java
# Agrostis filiformis Vill. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
<!-- Footer --> <footer class="text-center"> <div class="footer-above"> <div class="container"> <div class="row"> <div class="footer-col col-md-4"> <h3>{{ site.footer.location }}</h3> <p> {% for adress in site.address %} {{ adress.line }} <br> {% endfor %} </p> </div> <div class="footer-col col-md-4"> <h3>{{ site.footer.social }}</h3> <ul class="list-inline"> {% for network in site.social %} <li> <a href="{{ network.url }}" class="btn-social btn-outline"><i class="fa fa-fw fa-{{ network.title }}"></i></a> </li> {% endfor %} </ul> </div> <div class="footer-col col-md-4"> <h3>{{ site.footer.credits }}</h3> <p> {% for adress in site.credits %} {{ adress.line }} <br> {% endfor %} </p> </div> </div> </div> </div> <div class="footer-below"> <div class="container"> <div class="row"> <div class="col-lg-12"> Copyright &copy; {{ site.footer.copyright }} 20{{ site.time | date: '%y' }} </div> </div> </div> </div> </footer> <!-- Scroll to Top Button (Only visible on small and extra-small screen sizes) --> <div class="scroll-top page-scroll visible-xs visible-sm"> <a class="btn btn-primary" href="#page-top"> <i class="fa fa-chevron-up"></i> </a> </div>
Java
/* * Copyright 2017 Axway Software * * 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.axway.ats.core.filesystem.exceptions; import java.io.File; import com.axway.ats.common.filesystem.FileSystemOperationException; /** * Exception thrown when a file does not exist */ @SuppressWarnings( "serial") public class FileDoesNotExistException extends FileSystemOperationException { /** * Constructor * * @param fileName name of the file which does not exist */ public FileDoesNotExistException( String fileName ) { super("File '" + fileName + "' does not exist"); } /** * Constructor * * @param file the file which does not exist */ public FileDoesNotExistException( File file ) { super("File '" + file.getPath() + "' does not exist"); } }
Java
package com.fasterxml.jackson.databind.node; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.io.NumberOutput; import com.fasterxml.jackson.databind.SerializerProvider; /** * Numeric node that contains simple 32-bit integer values. */ @SuppressWarnings("serial") public class IntNode extends NumericNode { // // // Let's cache small set of common value final static int MIN_CANONICAL = -1; final static int MAX_CANONICAL = 10; private final static IntNode[] CANONICALS; static { int count = MAX_CANONICAL - MIN_CANONICAL + 1; CANONICALS = new IntNode[count]; for (int i = 0; i < count; ++i) { CANONICALS[i] = new IntNode(MIN_CANONICAL + i); } } /** * Integer value this node contains */ protected final int _value; /* ************************************************ * Construction ************************************************ */ public IntNode(int v) { _value = v; } public static IntNode valueOf(int i) { if (i > MAX_CANONICAL || i < MIN_CANONICAL) return new IntNode(i); return CANONICALS[i - MIN_CANONICAL]; } /* /********************************************************** /* BaseJsonNode extended API /********************************************************** */ @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_INT; } @Override public JsonParser.NumberType numberType() { return JsonParser.NumberType.INT; } /* /********************************************************** /* Overrridden JsonNode methods /********************************************************** */ @Override public boolean isIntegralNumber() { return true; } @Override public boolean isInt() { return true; } @Override public boolean canConvertToInt() { return true; } @Override public boolean canConvertToLong() { return true; } @Override public Number numberValue() { return Integer.valueOf(_value); } @Override public short shortValue() { return (short) _value; } @Override public int intValue() { return _value; } @Override public long longValue() { return (long) _value; } @Override public float floatValue() { return (float) _value; } @Override public double doubleValue() { return (double) _value; } @Override public BigDecimal decimalValue() { return BigDecimal.valueOf(_value); } @Override public BigInteger bigIntegerValue() { return BigInteger.valueOf(_value); } @Override public String asText() { return NumberOutput.toString(_value); } @Override public boolean asBoolean(boolean defaultValue) { return _value != 0; } @Override public final void serialize(JsonGenerator g, SerializerProvider provider) throws IOException { g.writeNumber(_value); } @Override public boolean equals(Object o) { if (o == this) return true; if (o == null) return false; if (o instanceof IntNode) { return ((IntNode) o)._value == _value; } return false; } @Override public int hashCode() { return _value; } }
Java
## AWS Health AWS_EBS_VOLUME_LOST **Note:** This instruction is deprecated. Please refer to the [stepbystep/README](https://github.com/aws/aws-health-tools/blob/master/automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/README.md) for the latest instruction. --- ### Description Underlying hardware related to your EBS volume has failed, and the data associated with the volume is unrecoverable. If you have an EBS snapshot of the volume, you need to restore that volume from your snapshot. This tools checks if the failed volume has a snapshot and is part of a root volume on an EC2 instance. Tool will restore the instance root volume from latest snapshot automatically if it does, and upload the results to an Elasticsearch instance. Notification on update will be sent to SNS topic assigned. ### Core Functionality Stack > [![Launch EBS VOLUME LOST Stack into N. Virginia with CloudFormation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/images/cloudformation-launch-stack-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=AWSEBSVolLost&templateURL=https://s3.amazonaws.com/aws-health-tools-assets/cloudformation-templates/aws_ebs_vol_lost_cfn.yaml) ### Important App Stack > [![Launch IMPORTANT APP Stack into N. Virginia with CloudFormation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/images/cloudformation-launch-stack-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=AWSEBSVolLost&templateURL=https://s3.amazonaws.com/aws-health-tools-assets/cloudformation-templates/aws_ebs_vol_lost_importantapp-cfn.yaml) ### Setup 1. Launch the CloudFormation Core Functionality Stack (**aws_ebs_vol_lost_cfn.yaml**). * This template will build out the required Step and Lambda functions that will action a Personal Health Dashboard event. It also creates a small Elasticsearch domain for visualisation. 1. Launch the CloudFormation Important App stack (**aws_ebs_vol_lost_importantapp-cfn.yaml**). * This template will build out a mock application that will be impacted by an EBS service disruption. ##### Creating a Mock Event 1. With both CloudFormation stacks completed - copy the **VolumeId** from the Outputs of the **Important App** stack. 1. Replace all **vol-xxxxxxxxxxxxxxxxx** values in the **phd-mock-payload.json** with the copied value. 1. Modifiy the **time** to within the past 14 days in **phd-mock-event.json**. 1. Post the mock event to CloudWatch using the AWS CLI command **aws events put-events --entries file://phd-mock-event.json** - this will trigger a CloudWatch Rule that will in turn launch the Step Function to replace the volume. 1. Open the Kibana dashboard (the URL can be found in the Outputs of the **Core Functionality** Stack) 1. In Kibana, under **Management > Index Patterns**, create an index pattern named **phd-events** using **PhdEventTime** as the **Time Filter**. 1. Under **Management > Saved Objects**, import **elasticsearch-objects.json**, overwriting all objects, and using **phd-events** as the new index pattern. 1. Navigate to **Dashboard > PHD Events** to see the event(s). 1. Repeat steps 1 to 4 to create additional mock events. #### CloudFormation Choose **Launch Stack** to launch the CloudFormation template in the US East (N. Virginia) Region in your account: The **Core Functionality** CloudFormation template requires the following parameters: * *SNSTopicName* - Enter the SNS topic to send notification to - this must exist in US East (N. Virginia) region * *PublicCidr* - The public IP from which Kibana will be accessible * *SubnetIds* - Two public subnets for Kibana access * *VpcId* - The VPC to which the subnets belong The **Important App** CloudFormation template requires the following parameters: * *InstanceType* - The size of the EC2 Instance * *KeyName* - The Keypair used to access the EC2 Instance * *RestoreImageId* - Leave blank. This is used by the Step Function for automatic replacement * *SSHLocation* - The public IP from wich the EC2 Instance wil be accessible * *SubnetId* - The subnet in which the EC2 Instance will reside * *VpcId* - The VPC to which the subnet belongs #### Disclaimer These CloudFormation templates are for demo and proof-of-concept purposes only. They and are not intended for production environments. Amongst other deficiencies, they: * do not follow the rule of least privileged access, and will create IAM Roles with the 'AdministratorAccess' AWS Managed policy * will serve public traffic from the Elasticsearch domain over unencrypted HTTP connections ### License AWS Health Tools are licensed under the Apache 2.0 License.
Java
package lena.lerning.selenium; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; import org.openqa.selenium.support.ui.WebDriverWait; import java.util.concurrent.TimeUnit; import static org.openqa.selenium.support.ui.ExpectedConditions.titleContains; /** * Created by Lena on 01/05/2017. */ public class EdgeTest { private WebDriver driver; private WebDriverWait wait; @Before public void edgeStart(){ driver = new EdgeDriver(); driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); } @Test public void firstTest(){ driver.get("http://www.google.com"); driver.findElement(By.name("q")).sendKeys("webdriver"); driver.findElement(By.name("q")).sendKeys(Keys.ENTER); wait.until(titleContains("webdriver")); } @After public void stop(){ driver.quit(); driver=null; } }
Java
package com.twitter.finagle.mdns import com.twitter.finagle.{Announcer, Announcement, Resolver, Addr, Address} import com.twitter.util.{Future, Return, Throw, Try, Var} import java.lang.management.ManagementFactory import java.net.{InetSocketAddress, SocketAddress} import scala.collection.mutable class MDNSAddressException(addr: String) extends Exception("Invalid MDNS address \"%s\"".format(addr)) private case class MdnsAddrMetadata( name: String, regType: String, domain: String) private object MdnsAddrMetadata { private val key = "mdns_addr_metadata" def toAddrMetadata(metadata: MdnsAddrMetadata) = Addr.Metadata(key -> metadata) def fromAddrMetadata(metadata: Addr.Metadata): Option[MdnsAddrMetadata] = metadata.get(key) match { case some@Some(_: MdnsAddrMetadata) => some.asInstanceOf[Option[MdnsAddrMetadata]] case _ => None } def unapply(metadata: Addr.Metadata): Option[(String, String, String)] = fromAddrMetadata(metadata).map { case MdnsAddrMetadata(name, regType, domain) => (name, regType, domain) } } private trait MDNSAnnouncerIface { def announce( addr: InetSocketAddress, name: String, regType: String, domain: String): Future[Announcement] } private trait MDNSResolverIface { def resolve(regType: String, domain: String): Var[Addr] } private[mdns] object MDNS { lazy val pid = ManagementFactory.getRuntimeMXBean.getName.split("@") match { case Array(pid, _) => pid case _ => "unknown" } def mkName(ps: Any*) = ps.mkString("/") def parse(addr: String) = { addr.split("\\.").toList.reverse match { case domain :: prot :: app :: name => (name.reverse.mkString("."), app + "." + prot, domain) case _ => throw new MDNSAddressException(addr) } } } class MDNSAnnouncer extends Announcer { import MDNS._ val scheme = "mdns" private[this] val announcer: MDNSAnnouncerIface = try { new DNSSDAnnouncer } catch { case _: ClassNotFoundException => new JmDNSAnnouncer } /** * Announce an address via MDNS. * * The addr must be in the style of `[name]._[group]._tcp.local.` * (e.g. myservice._twitter._tcp.local.). In order to ensure uniqueness * the final name will be [name]/[port]/[pid]. */ def announce(ia: InetSocketAddress, addr: String): Future[Announcement] = { val (name, regType, domain) = parse(addr) val serviceName = mkName(name, ia.getPort, pid) announcer.announce(ia, serviceName, regType, domain) } } class MDNSResolver extends Resolver { import MDNS._ val scheme = "mdns" private[this] val resolver: MDNSResolverIface = try { new DNSSDResolver } catch { case _: ClassNotFoundException => new JmDNSResolver } /** * Resolve a service via mdns * * The address must be in the style of `[name]._[group]._tcp.local.` * (e.g. "myservice._twitter._tcp.local."). */ def bind(arg: String): Var[Addr] = { val (name, regType, domain) = parse(arg) resolver.resolve(regType, domain) map { case Addr.Bound(addrs, attrs) => val filtered = addrs.filter { case Address.Inet(ia, MdnsAddrMetadata(n, _, _)) => n.startsWith(name) case _ => false } Addr.Bound(filtered, attrs) case a => a } } }
Java
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * 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 org.kuali.kra.common.notification.exception; /** * This exception is thrown if the given role id is not known to the given context. */ public class UnknownRoleException extends Exception { private static final long serialVersionUID = -1925770520412550327L; private final String roleId; private final String context; /** * Constructs an Unknown Role exception. * * @param roleId * @param context */ public UnknownRoleException(final String roleId, final String context) { super("Role " + roleId + " not recognized for context " + context); this.roleId = roleId; this.context = context; } public String getRoleId() { return roleId; } public String getContext() { return context; } }
Java
package org.develnext.jphp.android.ext.classes.app; import android.os.Bundle; import org.develnext.jphp.android.AndroidStandaloneLoader; import org.develnext.jphp.android.ext.AndroidExtension; import php.runtime.annotation.Reflection; @Reflection.Name(AndroidExtension.NAMESPACE + "app\\BootstrapActivity") public class WrapBootstrapActivity extends WrapActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreateClearly(savedInstanceState); AndroidStandaloneLoader.INSTANCE.run(this); getEnvironment().invokeMethodNoThrow(this, "onCreate"); } }
Java
package com.truward.brikar.maintenance.log.processor; import com.truward.brikar.common.log.LogUtil; import com.truward.brikar.maintenance.log.CommaSeparatedValueParser; import com.truward.brikar.maintenance.log.Severity; import com.truward.brikar.maintenance.log.message.LogMessage; import com.truward.brikar.maintenance.log.message.MaterializedLogMessage; import com.truward.brikar.maintenance.log.message.MultiLinePartLogMessage; import com.truward.brikar.maintenance.log.message.NullLogMessage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Message processor that converts a line into a message. * * @author Alexander Shabanov */ @ParametersAreNonnullByDefault public final class LogMessageProcessor { public static final Pattern RECORD_PATTERN = Pattern.compile( "^(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) " + // date+time "(\\p{Upper}+) " + // severity "([\\w\\p{Punct}]+) " + // class name "((?:[\\w]+=[\\w\\+/.\\$]+)(?:, (?:[\\w]+=[\\w\\+/\\.\\$]+))*)? " + // variables "\\[[\\w\\p{Punct}&&[^\\]]]+\\] " + // thread ID "(.+)" + // message "$" ); private static final String METRIC_MARKER = LogUtil.METRIC_ENTRY + ' '; private final Logger log = LoggerFactory.getLogger(getClass()); private final DateFormat dateFormat; public LogMessageProcessor() { this.dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,SSS"); this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); } public LogMessage parse(String line, LogMessage previousMessage) { if (previousMessage.hasMetrics() && line.startsWith("\t")) { // special case: this line is a continuation of metrics entry started on the previous line final MaterializedLogMessage logMessage = new MaterializedLogMessage(previousMessage.getUnixTime(), previousMessage.getSeverity(), line); addAttributesFromMetrics(logMessage, line.substring(1)); return logMessage; } final Matcher matcher = RECORD_PATTERN.matcher(line); if (!matcher.matches()) { return new MultiLinePartLogMessage(line); } if (matcher.groupCount() < 5) { log.error("Count of groups is not six: actual={} for line={}", matcher.groupCount(), line); return NullLogMessage.INSTANCE; // should not happen } final Date date; try { date = dateFormat.parse(matcher.group(1)); } catch (ParseException e) { log.error("Malformed date in line={}", line, e); return NullLogMessage.INSTANCE; // should not happen } final Severity severity = Severity.fromString(matcher.group(2), Severity.WARN); final MaterializedLogMessage logMessage = new MaterializedLogMessage(date.getTime(), severity, line); addAttributesFromVariables(logMessage, matcher.group(4)); final String message = matcher.group(5); if (message != null) { final int metricIndex = message.indexOf(METRIC_MARKER); if (metricIndex >= 0) { addAttributesFromMetrics(logMessage, message.substring(metricIndex + METRIC_MARKER.length())); } } return logMessage; } // // Private // private void addAttributesFromMetrics(MaterializedLogMessage logMessage, String metricBody) { putAllAttributes(logMessage, new CommaSeparatedValueParser(metricBody).readAsMap()); } private void addAttributesFromVariables(MaterializedLogMessage logMessage, @Nullable String variables) { if (variables != null) { putAllAttributes(logMessage, new CommaSeparatedValueParser(variables).readAsMap()); } } private void putAllAttributes(MaterializedLogMessage logMessage, Map<String, String> vars) { for (final Map.Entry<String, String> entry : vars.entrySet()) { final String key = entry.getKey(); final Object value; if (LogUtil.TIME_DELTA.equals(key)) { value = Long.parseLong(entry.getValue()); } else if (LogUtil.START_TIME.equals(key)) { value = Long.parseLong(entry.getValue()); } else if (LogUtil.COUNT.equals(key)) { value = Long.parseLong(entry.getValue()); } else if (LogUtil.FAILED.equals(key)) { value = Boolean.valueOf(entry.getValue()); } else { value = entry.getValue(); } logMessage.putAttribute(key, value); } } }
Java
using UnityEngine; using System.Collections; namespace MagicalFX { public class FX_SpawnDirection : MonoBehaviour { public int Number = 10; public float Frequency = 1; public bool FixRotation = false; public bool Normal; public GameObject FXSpawn; public float LifeTime = 0; public float TimeSpawn = 0; private float timeTemp; public bool UseObjectForward = true; public Vector3 Direction = Vector3.forward; void Start () { counter = 0; timeTemp = Time.time; if (TimeSpawn <= 0) { for (int i=0; i<Number-1; i++) { if (UseObjectForward) { Direction = this.transform.forward; } Spawn (this.transform.position + (Direction * Frequency * i)); } Destroy(this.gameObject); } } private int counter = 0; void Update () { if(counter >= Number-1) Destroy(this.gameObject); if (TimeSpawn > 0.0f) { if (Time.time > timeTemp + TimeSpawn) { if (UseObjectForward) { Direction = this.transform.forward; } Spawn (this.transform.position + (Direction * Frequency * counter)); counter+=1; timeTemp = Time.time; } } } void Spawn (Vector3 position) { if (FXSpawn != null) { Quaternion rotate = this.transform.rotation; if (!FixRotation) rotate = FXSpawn.transform.rotation; GameObject fx = (GameObject)GameObject.Instantiate (FXSpawn, position, rotate); if (Normal) fx.transform.forward = this.transform.forward; if (LifeTime > 0) GameObject.Destroy (fx.gameObject, LifeTime); } } } }
Java
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="Source Themes Academic 3.1.1"> <meta name="generator" content="Hugo 0.55.6" /> <meta name="author" content="Gregor von Laszewski"> <meta name="description" content="Home page of Gregor von Laszewski"> <link rel="alternate" hreflang="en-us" href="http://laszewski.github.io/proceeding/"> <meta name="theme-color" content="#3f51b5"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha256-eSi1q2PG6J7g7ib17yAaWMcrr5GrtohYChqibrV7PBE=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.8.6/css/academicons.min.css" integrity="sha256-uFVgMKfistnJAfoCUQigIl+JfUaP47GrRKjf6CTPVmw=" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" integrity="sha256-ygkqlh3CYSUri3LhQxzdcm0n1EQvH2Y+U5S2idbLtxs=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat:400,700|Roboto:400,400italic,700|Roboto+Mono"> <link rel="stylesheet" href="/styles.css"> <link rel="alternate" href="http://laszewski.github.io/proceeding/index.xml" type="application/rss+xml" title="Gregor von Laszewski"> <link rel="feed" href="http://laszewski.github.io/proceeding/index.xml" type="application/rss+xml" title="Gregor von Laszewski"> <link rel="manifest" href="/site.webmanifest"> <link rel="icon" type="image/png" href="/img/icon.png"> <link rel="apple-touch-icon" type="image/png" href="/img/icon-192.png"> <link rel="canonical" href="http://laszewski.github.io/proceeding/"> <meta property="twitter:card" content="summary_large_image"> <meta property="og:site_name" content="Gregor von Laszewski"> <meta property="og:url" content="http://laszewski.github.io/proceeding/"> <meta property="og:title" content="Proceedings | Gregor von Laszewski"> <meta property="og:description" content="Home page of Gregor von Laszewski"> <meta property="og:image" content="http://laszewski.github.io/img/icon-192.png"> <meta property="og:locale" content="en-us"> <meta property="og:updated_time" content="2017-01-01T00:00:00-05:00"> <title>Proceedings | Gregor von Laszewski</title> </head> <body id="top" data-spy="scroll" data-target="#TableOfContents" data-offset="71" > <aside class="search-results" id="search"> <div class="container"> <section class="search-header fixed-top"> <div class="row no-gutters justify-content-between mb-3"> <div class="col-6"> <h1>Search</h1> </div> <div class="col-6 col-search-close"> <a class="js-search" href="#"><i class="fas fa-times-circle text-muted" aria-hidden="true"></i></a> </div> </div> <div id="search-box"> <input name="q" id="search-query" placeholder="Search..." autocapitalize="off" autocomplete="off" autocorrect="off" role="textbox" spellcheck="false" type="search"> </div> </section> <section class="section-search-results"> <div id="search-hits"> </div> </section> </div> </aside> <nav class="navbar navbar-light fixed-top navbar-expand-lg py-0" id="navbar-main"> <div class="container"> <a class="navbar-brand" href="/">Gregor von Laszewski</a> <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> <span><i class="fas fa-bars"></i></span> </button> <div class="collapse navbar-collapse" id="navbar"> <ul class="navbar-nav ml-auto"> <li class="nav-item"> <a class="nav-link" href="/#about"> <span>Home</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/publication"> <span>Publications</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/#projects"> <span>Projects</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/#books"> <span>Books</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/#proceedings"> <span>Proceedings</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/#history"> <span>History</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/post/shuttle"> <span>Free Shuttle</span> </a> </li> <li class="nav-item"> <a class="nav-link" href="/#contact"> <span>Contact</span> </a> </li> <li class="nav-item"> <a class="nav-link js-search" href="#"><i class="fas fa-search" aria-hidden="true"></i></a> </li> </ul> </div> </div> </nav> <div class="universal-wrapper pt-3"> <h1 itemprop="name">Proceedings</h1> </div> <div class="universal-wrapper"> <div> <h2><a href="/proceeding/e516-sp20-proceeding/">E516 - Spring 2020 Proceedings</a></h2> <div class="article-style"> Here you find the Documents produced by the students for this class. Please note that some may be edited by Gregor von Laszewski or the support staff for this class. We try to update this document frequently. The best we to read them is with an ePub reader. If you do not have one you also use the PDF version. However, PDF does not render as well as ePub. </div> </div> <div> <h2><a href="/proceeding/e516-sp19-proceeding/">E516 - Fall 2019 Proceedings</a></h2> <div class="article-style"> Here you find the Documents produced by the students for this class. Please note that some may be edited by Gregor von Laszewski or the support staff for this class. We try to update this document frequently. The best we to read them is with an ePub reader. If you do not have one you also use the PDF version. However, PDF does not render as well as ePub. </div> </div> </div> <div class="container"> <footer class="site-footer"> <p class="powered-by"> &copy; Gregor von Laszewski, 2018-2020 &middot; <span class="float-right" aria-hidden="true"> <a href="#" id="back_to_top"> <span class="button_icon"> <i class="fas fa-chevron-up fa-2x"></i> </span> </a> </span> </p> </footer> </div> <div id="modal" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Cite</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <pre><code class="tex hljs"></code></pre> </div> <div class="modal-footer"> <a class="btn btn-outline-primary my-1 js-copy-cite" href="#" target="_blank"> <i class="fas fa-copy"></i> Copy </a> <a class="btn btn-outline-primary my-1 js-download-cite" href="#" target="_blank"> <i class="fas fa-download"></i> Download </a> <div id="modal-error"></div> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha512-+NqPlbbtM1QqiK8ZAo4Yrj2c4lNQoGv8P79DPtKzj++l5jnN39rHA/xsqn8zE9l0uSoxaCdrOgFs6yjyfbBxSg==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.3/imagesloaded.pkgd.min.js" integrity="sha512-umsR78NN0D23AzgoZ11K7raBD+R6hqKojyBZs1w8WvYlsI+QuKRGBx3LFCwhatzBunCjDuJpDHwxD13sLMbpRA==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha256-VsEqElsCHSGmnmHXGQzvoWjWwoznFSZc6hs7ARLRacQ=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.4/isotope.pkgd.min.js" integrity="sha512-VDBOIlDbuC4VWxGJNmuFRQ0Li0SKkDpmGyuhAG5LTDLd/dJ/S0WMVxriR2Y+CyPL5gzjpN4f/6iqWVBJlht0tQ==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" integrity="sha256-X5PoE3KU5l+JcX+w09p/wHl9AzK333C4hJ2I9S5mD4M=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script> <script>hljs.initHighlightingOnLoad();</script> <script> const search_index_filename = "/index.json"; const i18n = { 'placeholder': "Search...", 'results': "results found", 'no_results': "No results found" }; const content_type = { 'post': "Posts", 'project': "Projects", 'publication' : "Publications", 'talk' : "Talks" }; </script> <script id="search-hit-fuse-template" type="text/x-template"> <div class="search-hit" id="summary-{{key}}"> <div class="search-hit-content"> <div class="search-hit-name"> <a href="{{relpermalink}}">{{title}}</a> <div class="article-metadata search-hit-type">{{type}}</div> <p class="search-hit-description">{{snippet}}</p> </div> </div> </div> </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.1/fuse.min.js" integrity="sha256-VzgmKYmhsGNNN4Ph1kMW+BjoYJM2jV5i4IlFoeZA9XI=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha256-4HLtjeVgH0eIB3aZ9mLYF6E8oU5chNdjU6p6rrXpl9U=" crossorigin="anonymous"></script> <script src="/js/academic.min.14cafafda844d960749b7551524d1c3a.js"></script> </body> </html>
Java
package ru.job4j.servlet.services; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.job4j.servlet.model.User; import ru.job4j.servlet.repository.RepositoryException; import ru.job4j.servlet.repository.UserStore; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * UpdateUserController. * * @author Stanislav (376825@mail.ru) * @since 11.01.2018 */ public class UpdateUserController extends HttpServlet { private static final Logger LOG = LoggerFactory.getLogger(UpdateUserController.class); private static final long serialVersionUID = 6328444530140780881L; private UserStore userStore = UserStore.getInstance(); @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { try { User user = userStore.findByID(Integer.valueOf(req.getParameter("id"))); if (user != null) { String name = req.getParameter("name"); String login = req.getParameter("login"); String email = req.getParameter("email"); if (name != null && !name.trim().isEmpty()) { user.setName(name); } if (login != null && !login.trim().isEmpty()) { user.setLogin(login); } if (email != null && !email.trim().isEmpty()) { user.setEmail(email); } userStore.update(user); } } catch (NumberFormatException e) { LOG.error("Not the correct format id. ", e); } catch (RepositoryException e) { LOG.error("Error adding user. ", e); } resp.sendRedirect(req.getContextPath().length() == 0 ? "/" : req.getContextPath()); } }
Java
package com.kenshin.windystreet.db; import org.litepal.crud.DataSupport; /** * Created by Kenshin on 2017/4/3. */ public class County extends DataSupport { private int id; //编号 private String countyName; //县名 private String weatherId; //对应的天气id private int cityId; //所属市的id public void setId(int id) { this.id = id; } public void setCountyName(String countyName) { this.countyName = countyName; } public void setWeatherId(String weatherId) { this.weatherId = weatherId; } public void setCityId(int cityId) { this.cityId = cityId; } public int getId() { return id; } public String getCountyName() { return countyName; } public String getWeatherId() { return weatherId; } public int getCityId() { return cityId; } }
Java
/* * Copyright 2016-present Facebook, Inc. * * 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.facebook.buck.core.model.actiongraph; import com.facebook.buck.core.rules.BuildRuleResolver; import com.facebook.buck.core.util.immutables.BuckStyleImmutable; import org.immutables.value.Value; /** Holds an ActionGraph with the BuildRuleResolver that created it. */ @Value.Immutable @BuckStyleImmutable interface AbstractActionGraphAndResolver { @Value.Parameter ActionGraph getActionGraph(); @Value.Parameter BuildRuleResolver getResolver(); }
Java
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. import unittest from cryptography.fernet import Fernet from airflow import settings from airflow.models import Variable, crypto from tests.test_utils.config import conf_vars class TestVariable(unittest.TestCase): def setUp(self): crypto._fernet = None def tearDown(self): crypto._fernet = None @conf_vars({('core', 'fernet_key'): ''}) def test_variable_no_encryption(self): """ Test variables without encryption """ Variable.set('key', 'value') session = settings.Session() test_var = session.query(Variable).filter(Variable.key == 'key').one() self.assertFalse(test_var.is_encrypted) self.assertEqual(test_var.val, 'value') @conf_vars({('core', 'fernet_key'): Fernet.generate_key().decode()}) def test_variable_with_encryption(self): """ Test variables with encryption """ Variable.set('key', 'value') session = settings.Session() test_var = session.query(Variable).filter(Variable.key == 'key').one() self.assertTrue(test_var.is_encrypted) self.assertEqual(test_var.val, 'value') def test_var_with_encryption_rotate_fernet_key(self): """ Tests rotating encrypted variables. """ key1 = Fernet.generate_key() key2 = Fernet.generate_key() with conf_vars({('core', 'fernet_key'): key1.decode()}): Variable.set('key', 'value') session = settings.Session() test_var = session.query(Variable).filter(Variable.key == 'key').one() self.assertTrue(test_var.is_encrypted) self.assertEqual(test_var.val, 'value') self.assertEqual(Fernet(key1).decrypt(test_var._val.encode()), b'value') # Test decrypt of old value with new key with conf_vars({('core', 'fernet_key'): ','.join([key2.decode(), key1.decode()])}): crypto._fernet = None self.assertEqual(test_var.val, 'value') # Test decrypt of new value with new key test_var.rotate_fernet_key() self.assertTrue(test_var.is_encrypted) self.assertEqual(test_var.val, 'value') self.assertEqual(Fernet(key2).decrypt(test_var._val.encode()), b'value')
Java
# Stilbum clavaeforme (Preuss) Goid. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Annali Bot. (Torino) 21: 49 (1935) #### Original name Stilbum claviforme (Preuss) Goid. ### Remarks null
Java
package water.api; import org.reflections.Reflections; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.regex.Matcher; import java.util.regex.Pattern; import hex.schemas.ModelBuilderSchema; import water.DKV; import water.H2O; import water.Iced; import water.Job; import water.Key; import water.Value; import water.exceptions.H2OIllegalArgumentException; import water.exceptions.H2OKeyNotFoundArgumentException; import water.exceptions.H2ONotFoundArgumentException; import water.fvec.Frame; import water.util.IcedHashMap; import water.util.Log; import water.util.MarkdownBuilder; import water.util.Pair; import water.util.PojoUtils; import water.util.ReflectionUtils; /** * Base Schema class; all REST API Schemas inherit from here. * <p> * The purpose of Schemas is to provide a stable, versioned interface to * the functionality in H2O, which allows the back end implementation to * change rapidly without breaking REST API clients such as the Web UI * and R and Python bindings. Schemas also allow for functionality which exposes the * schema metadata to clients, allowing them to do service discovery and * to adapt dynamically to new H2O functionality, e.g. to be able to call * any ModelBuilder, even new ones written since the client was built, * without knowing any details about the specific algo. * <p> * In most cases, Java developers who wish to expose new functionality through the * REST API will need only to define their schemas with the fields that they * wish to expose, adding @API annotations to denote the field metadata. * Their fields will be copied back and forth through the reflection magic in this * class. If there are fields they have to adapt between the REST API representation * and the back end this can be done piecemeal by overriding the fill* methods, calling * the versions in super, and making only those changes that are absolutely necessary. * A lot of work has gone into avoiding boilerplate code. * <p> * Schemas are versioned for stability. When you look up the schema for a given impl * object or class you supply a version number. If a schema for that version doesn't * exist then the versions are searched in reverse order. For example, if you ask for * version 5 and the highest schema version for that impl class is 3 then V3 will be returned. * This allows us to move to higher versions without having to write gratuitous new schema * classes for the things that haven't changed in the new version. * <p> * The current version can be found by calling * Schema.getHighestSupportedVersion(). For schemas that are still in flux * because development is ongoing we also support an EXPERIMENTAL_VERSION, which * indicates that there are no interface stability guarantees between H2O versions. * Eventually these schemas will move to a normal, stable version number. Call * Schema.getExperimentalVersion() to find the experimental version number (99 as * of this writing). * <p> * Schema names must be unique within an application in a single namespace. The * class getSimpleName() is used as the schema name. During Schema discovery and * registration there are checks to ensure that the names are unique. * <p> * Most schemas have a 1-to-1 mapping to an Iced implementation object, aka the "impl" * or implementation class. This class is specified as a type parameter to the Schema class. * This type parameter is used by reflection magic to avoid a large amount of boilerplate * code. * <p> * Both the Schema and the Iced object may have children, or (more often) not. * Occasionally, e.g. in the case of schemas used only to handle HTTP request * parameters, there will not be a backing impl object and the Schema will be * parameterized by Iced. * <p> * Other than Schemas backed by Iced this 1-1 mapping is enforced: a check at Schema * registration time ensures that at most one Schema is registered for each Iced class. * This 1-1 mapping allows us to have generic code here in the Schema class which does * all the work for common cases. For example, one can write code which accepts any * Schema instance and creates and fills an instance of its associated impl class: * {@code * I impl = schema.createAndFillImpl(); * } * <p> * Schemas have a State section (broken into Input, Output and InOut fields) * and an Adapter section. The adapter methods fill the State to and from the * Iced impl objects and from HTTP request parameters. In the simple case, where * the backing object corresponds 1:1 with the Schema and no adapting need be * done, the methods here in the Schema class will do all the work based on * reflection. In that case your Schema need only contain the fields you wish * to expose, and no adapter code. * <p> * Methods here allow us to convert from Schema to Iced (impl) and back in a * flexible way. The default behaviour is to map like-named fields back and * forth, often with some default type conversions (e.g., a Keyed object like a * Model will be automagically converted back and forth to a Key). * Subclasses can override methods such as fillImpl or fillFromImpl to * provide special handling when adapting from schema to impl object and back. * Usually they will want to call super to get the default behavior, and then * modify the results a bit (e.g., to map differently-named fields, or to * compute field values). * <p> * Schema Fields must have a single @API annotation describing their direction * of operation and any other properties such as "required". Fields are * API.Direction.INPUT by default. Transient and static fields are ignored. * <p> * Most Java developers need not be concerned with the details that follow, because the * framework will make these calls as necessary. * <p> * Some use cases: * <p> * To find and create an instance of the appropriate schema for an Iced object, with the * given version or the highest previous version:<pre> * Schema s = Schema.schema(6, impl); * </pre> * <p> * To create a schema object and fill it from an existing impl object (the common case):<pre> * S schema = MySchemaClass(version).fillFromImpl(impl);</pre> * or more generally: * <pre> * S schema = Schema(version, impl).fillFromImpl(impl);</pre> * To create an impl object and fill it from an existing schema object (the common case): * <pre> * I impl = schema.createImpl(); // create an empty impl object and any empty children * schema.fillImpl(impl); // fill the empty impl object and any children from the Schema and its children</pre> * or * <pre> * I impl = schema.createAndFillImpl(); // helper which does schema.fillImpl(schema.createImpl())</pre> * <p> * Schemas that are used for HTTP requests are filled with the default values of their impl * class, and then any present HTTP parameters override those default values. * <p> * To create a schema object filled from the default values of its impl class and then * overridden by HTTP request params: * <pre> * S schema = MySchemaClass(version); * I defaults = schema.createImpl(); * schema.fillFromImpl(defaults); * schema.fillFromParms(parms); * </pre> * or more tersely: * <pre> * S schema = MySchemaClass(version).fillFromImpl(schema.createImpl()).fillFromParms(parms); * </pre> * @see Meta#getSchema_version() * @see Meta#getSchema_name() * @see Meta#getSchema_type() * @see water.api.API */ public class Schema<I extends Iced, S extends Schema<I,S>> extends Iced { private transient Class<I> _impl_class = getImplClass(); // see getImplClass() private static final int HIGHEST_SUPPORTED_VERSION = 3; private static final int EXPERIMENTAL_VERSION = 99; /** * Metadata for a Schema, including the version, name and type. This information is included in all REST API * responses as a field in the Schema so that the payloads are self-describing, and it is also available through * the /Metadata/schemas REST API endpoint for the purposes of REST service discovery. */ public static final class Meta extends Iced { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // CAREFUL: This class has its own JSON serializer. If you add a field here you probably also want to add it to the serializer! //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Get the version number of this schema, for example 3 or 99. Note that 99 is the "experimental" version, meaning that * there are no stability guarantees between H2O versions. */ @API(help="Version number of this Schema. Must not be changed after creation (treat as final).", direction=API.Direction.OUTPUT) private int schema_version; /** Get the simple schema (class) name, for example DeepLearningParametersV3. Must not be changed after creation (treat as final). */ @API(help="Simple name of this Schema. NOTE: the schema_names form a single namespace.", direction=API.Direction.OUTPUT) private String schema_name; /** Get the simple name of H2O type that this Schema represents, for example DeepLearningParameters. */ @API(help="Simple name of H2O type that this Schema represents. Must not be changed after creation (treat as final).", direction=API.Direction.OUTPUT) private String schema_type; // subclasses can redefine this /** Default constructor used only for newInstance() in generic reflection-based code. */ public Meta() {} /** Standard constructor which supplies all the fields. The fields should be treated as immutable once set. */ public Meta(int version, String name, String type) { this.schema_version = version; this.schema_name = name; this.schema_type = type; } /** * Get the version number of this schema, for example 3 or 99. Note that 99 is the "experimental" version, * meaning that there are no stability guarantees between H2O versions. */ public int getSchema_version() { return schema_version; } /** Get the simple schema (class) name, for example DeepLearningParametersV3. */ public String getSchema_name() { return schema_name; } /** Get the simple name of the H2O type that this Schema represents, for example DeepLearningParameters. */ public String getSchema_type() { return schema_type; } /** Set the simple name of the H2O type that this Schema represents, for example Key&lt;Frame&gt;. NOTE: using this is a hack and should be avoided. */ protected void setSchema_type(String schema_type) { this.schema_type = schema_type; } // TODO: make private in Iced: /** Override the JSON serializer to prevent a recursive loop in AutoBuffer. User code should not call this, and soon it should be made protected. */ @Override public final water.AutoBuffer writeJSON_impl(water.AutoBuffer ab) { // Overridden because otherwise we get in a recursive loop trying to serialize this$0. ab.putJSON4("schema_version", schema_version) .put1(',').putJSONStr("schema_name", schema_name) .put1(',').putJSONStr("schema_type", schema_type); return ab; } } @API(help="Metadata on this schema instance, to make it self-describing.", direction=API.Direction.OUTPUT) private Meta __meta = null; /** Get the metadata for this schema instance which makes it self-describing when serialized to JSON. */ protected Meta get__meta() { return __meta; } // Registry which maps a simple schema name to its class. NOTE: the simple names form a single namespace. // E.g., "DeepLearningParametersV2" -> hex.schemas.DeepLearningV2.DeepLearningParametersV2 private static Map<String, Class<? extends Schema>> schemas = new HashMap<>(); // Registry which maps a Schema simpleName to its Iced Class. // E.g., "DeepLearningParametersV2" -> hex.deeplearning.DeepLearning.DeepLearningParameters private static Map<String, Class<? extends Iced>> schema_to_iced = new HashMap<>(); // Registry which maps an Iced simpleName (type) and schema_version to its Schema Class. // E.g., (DeepLearningParameters, 2) -> "DeepLearningParametersV2" // // Note that iced_to_schema gets lazily filled if a higher version is asked for than is // available (e.g., if the highest version of Frame is FrameV2 and the client asks for // the schema for (Frame, 17) then FrameV2 will be returned, and all the mappings between // 17 and 3 will get added to the Map. private static Map<Pair<String, Integer>, Class<? extends Schema>> iced_to_schema = new HashMap<>(); /** * Default constructor; triggers lazy schema registration. * @throws water.exceptions.H2OFailException if there is a name collision or there is more than one schema which maps to the same Iced class */ public Schema() { String name = this.getClass().getSimpleName(); int version = extractVersion(name); String type = _impl_class.getSimpleName(); __meta = new Meta(version, name, type); if (null == schema_to_iced.get(name)) { Log.debug("Registering schema: " + name + " schema_version: " + version + " with Iced class: " + _impl_class.toString()); if (null != schemas.get(name)) throw H2O.fail("Found a duplicate schema name in two different packages: " + schemas.get(name) + " and: " + this.getClass().toString()); schemas.put(name, this.getClass()); schema_to_iced.put(name, _impl_class); if (_impl_class != Iced.class) { Pair versioned = new Pair(type, version); // Check for conflicts if (null != iced_to_schema.get(versioned)) { throw H2O.fail("Found two schemas mapping to the same Iced class with the same version: " + iced_to_schema.get(versioned) + " and: " + this.getClass().toString() + " both map to version: " + version + " of Iced class: " + _impl_class); } iced_to_schema.put(versioned, this.getClass()); } } } private static Pattern _version_pattern = null; /** Extract the version number from the schema class name. Returns -1 if there's no version number at the end of the classname. */ private static int extractVersion(String clz_name) { if (null == _version_pattern) // can't just use a static initializer _version_pattern = Pattern.compile(".*V(\\d+)"); Matcher m = _version_pattern.matcher(clz_name); if (! m.matches()) return -1; return Integer.valueOf(m.group(1)); } /** * Get the version number of this schema, for example 3 or 99. Note that 99 is the "experimental" version, meaning that * there are no stability guarantees between H2O versions. */ public int getSchemaVersion() { return __meta.schema_version; } private static int latest_version = -1; /** * Get the highest schema version number that we've encountered during schema registration. */ public final static int getLatestVersion() { return latest_version; } /** * Get the highest schema version that we support. This bounds the search for a schema if we haven't yet * registered all schemas and don't yet know the latest_version. */ public final static int getHighestSupportedVersion() { return HIGHEST_SUPPORTED_VERSION; } /** * Get the experimental schema version, which indicates that a schema is not guaranteed stable between H2O releases. */ public final static int getExperimentalVersion() { return EXPERIMENTAL_VERSION; } /** * Register the given schema class. * @throws water.exceptions.H2OFailException if there is a name collision, if the type parameters are bad, or if the version is bad */ private static void register(Class<? extends Schema> clz) { synchronized(clz) { // Was there a race to get here? If so, return. Class<? extends Schema> existing = schemas.get(clz.getSimpleName()); if (null != existing) { if (clz != existing) throw H2O.fail("Two schema classes have the same simpleName; this is not supported: " + clz + " and " + existing + "."); return; } // Check that the Schema has the correct type parameters: if (clz.getGenericSuperclass() instanceof ParameterizedType) { Type[] schema_type_parms = ((ParameterizedType) (clz.getGenericSuperclass())).getActualTypeArguments(); if (schema_type_parms.length < 2) throw H2O.fail("Found a Schema that does not pass at least two type parameters. Each Schema needs to be parameterized on the backing class (if any, or Iced if not) and itself: " + clz); Class parm0 = ReflectionUtils.findActualClassParameter(clz, 0); if (!Iced.class.isAssignableFrom(parm0)) throw H2O.fail("Found a Schema with bad type parameters. First parameter is a subclass of Iced. Each Schema needs to be parameterized on the backing class (if any, or Iced if not) and itself: " + clz + ". Second parameter is of class: " + parm0); if (Schema.class.isAssignableFrom(parm0)) throw H2O.fail("Found a Schema with bad type parameters. First parameter is a subclass of Schema. Each Schema needs to be parameterized on the backing class (if any, or Iced if not) and itself: " + clz + ". Second parameter is of class: " + parm0); Class parm1 = ReflectionUtils.findActualClassParameter(clz, 1); if (!Schema.class.isAssignableFrom(parm1)) throw H2O.fail("Found a Schema with bad type parameters. Second parameter is not a subclass of Schema. Each Schema needs to be parameterized on the backing class (if any, or Iced if not) and itself: " + clz + ". Second parameter is of class: " + parm1); } else { throw H2O.fail("Found a Schema that does not have a parameterized superclass. Each Schema needs to be parameterized on the backing class (if any, or Iced if not) and itself: " + clz); } int version = extractVersion(clz.getSimpleName()); if (version > getHighestSupportedVersion() && version != EXPERIMENTAL_VERSION) throw H2O.fail("Found a schema with a version higher than the highest supported version; you probably want to bump the highest supported version: " + clz); // NOTE: we now allow non-versioned schemas, for example base classes like ModelMetricsBase, so that we can fetch the metadata for them. if (version > -1 && version != EXPERIMENTAL_VERSION) { // Track highest version of all schemas; only valid after all are registered at startup time. if (version > HIGHEST_SUPPORTED_VERSION) throw H2O.fail("Found a schema with a version greater than the highest supported version of: " + getHighestSupportedVersion() + ": " + clz); if (version > latest_version) { synchronized (Schema.class) { if (version > latest_version) latest_version = version; } } } Schema s = null; try { s = clz.newInstance(); } catch (Exception e) { Log.err("Failed to instantiate schema class: " + clz + " because: " + e); } if (null != s) { Log.debug("Registered Schema: " + clz.getSimpleName()); // Validate the fields: SchemaMetadata meta = new SchemaMetadata(s); for (SchemaMetadata.FieldMetadata field_meta : meta.fields) { String name = field_meta.name; if ("__meta".equals(name) || "__http_status".equals(name) || "_exclude_fields".equals(name) || "_include_fields".equals(name)) continue; if ("Gini".equals(name)) // proper name continue; if (name.endsWith("AUC")) // trainAUC, validAUC continue; // TODO: remove after we move these into a TwoDimTable: if ("F0point5".equals(name) || "F0point5_for_criteria".equals(name) || "F1_for_criteria".equals(name) || "F2_for_criteria".equals(name)) continue; if (name.startsWith("_")) Log.warn("Found schema field which violates the naming convention; name starts with underscore: " + meta.name + "." + name); if (!name.equals(name.toLowerCase()) && !name.equals(name.toUpperCase())) // allow AUC but not residualDeviance Log.warn("Found schema field which violates the naming convention; name has mixed lowercase and uppercase characters: " + meta.name + "." + name); } } } } /** * Create an appropriate implementation object and any child objects but does not fill them. * The standard purpose of a createImpl without a fillImpl is to be able to get the default * values for all the impl's fields. * <p> * For objects without children this method does all the required work. For objects * with children the subclass will need to override, e.g. by calling super.createImpl() * and then calling createImpl() on its children. * <p> * Note that impl objects for schemas which override this method don't need to have * a default constructor (e.g., a Keyed object constructor can still create and set * the Key), but they must not fill any fields which can be filled later from the schema. * <p> * TODO: We could handle the common case of children with the same field names here * by finding all of our fields that are themselves Schemas. * @throws H2OIllegalArgumentException if Class.newInstance fails */ public I createImpl() { try { return this.getImplClass().newInstance(); } catch (Exception e) { String msg = "Exception instantiating implementation object of class: " + this.getImplClass().toString() + " for schema class: " + this.getClass(); Log.err(msg + ": " + e); H2OIllegalArgumentException heae = new H2OIllegalArgumentException(msg); heae.initCause(e); throw heae; } } /** Fill an impl object and any children from this schema and its children. If a schema doesn't need to adapt any fields if does not need to override this method. */ public I fillImpl(I impl) { PojoUtils.copyProperties(impl, this, PojoUtils.FieldNaming.CONSISTENT); // TODO: make field names in the impl classes consistent and remove PojoUtils.copyProperties(impl, this, PojoUtils.FieldNaming.DEST_HAS_UNDERSCORES); return impl; } /** Convenience helper which creates and fills an impl object from this schema. */ final public I createAndFillImpl() { return this.fillImpl(this.createImpl()); } /** Fill this Schema from the given implementation object. If a schema doesn't need to adapt any fields if does not need to override this method. */ public S fillFromImpl(I impl) { PojoUtils.copyProperties(this, impl, PojoUtils.FieldNaming.ORIGIN_HAS_UNDERSCORES); PojoUtils.copyProperties(this, impl, PojoUtils.FieldNaming.CONSISTENT); // TODO: make field names in the impl classes consistent and remove return (S)this; } /** Return the class of the implementation type parameter I for the given Schema class. Used by the metadata facilities and the reflection-base field-copying magic in PojoUtils. */ public static Class<? extends Iced> getImplClass(Class<? extends Schema> clz) { Class<? extends Iced> impl_class = (Class<? extends Iced>)ReflectionUtils.findActualClassParameter(clz, 0); if (null == impl_class) Log.warn("Failed to find an impl class for Schema: " + clz); return impl_class; } /** Return the class of the implementation type parameter I for this Schema. Used by generic code which deals with arbitrary schemas and their backing impl classes. */ public Class<I> getImplClass() { if (null == _impl_class) _impl_class = (Class<I>) ReflectionUtils.findActualClassParameter(this.getClass(), 0); if (null == _impl_class) Log.warn("Failed to find an impl class for Schema: " + this.getClass()); return _impl_class; } /** * Fill this Schema object from a set of parameters. * * @param parms parameters - set of tuples (parameter name, parameter value) * @return this schema * * @see #fillFromParms(Properties, boolean) */ public S fillFromParms(Properties parms) { return fillFromParms(parms, true); } /** * Fill this Schema from a set of (generally HTTP) parameters. * <p> * Using reflection this process determines the type of the target field and * conforms the types if possible. For example, if the field is a Keyed type * the name (ID) will be looked up in the DKV and mapped appropriately. * <p> * The process ignores parameters which are not fields in the schema, and it * verifies that all fields marked as required are present in the parameters * list. * <p> * It also does various sanity checks for broken Schemas, for example fields must * not be private, and since input fields get filled here they must not be final. * @param parms Properties map of parameter values * @param checkRequiredFields perform check for missing required fields * @return this schema * @throws H2OIllegalArgumentException for bad/missing parameters */ public S fillFromParms(Properties parms, boolean checkRequiredFields) { // Get passed-in fields, assign into Schema Class thisSchemaClass = this.getClass(); Map<String, Field> fields = new HashMap<>(); Field current = null; // declare here so we can print in catch{} try { Class clz = thisSchemaClass; do { Field[] some_fields = clz.getDeclaredFields(); for (Field f : some_fields) { current = f; if (null == fields.get(f.getName())) fields.put(f.getName(), f); } clz = clz.getSuperclass(); } while (Iced.class.isAssignableFrom(clz.getSuperclass())); } catch (SecurityException e) { throw H2O.fail("Exception accessing field: " + current + " in class: " + this.getClass() + ": " + e); } for( String key : parms.stringPropertyNames() ) { try { Field f = fields.get(key); // No such field error, if parm is junk if (null == f) { throw new H2OIllegalArgumentException("Unknown parameter: " + key, "Unknown parameter in fillFromParms: " + key + " for class: " + this.getClass().toString()); } int mods = f.getModifiers(); if( Modifier.isTransient(mods) || Modifier.isStatic(mods) ) { // Attempting to set a transient or static; treat same as junk fieldname throw new H2OIllegalArgumentException( "Bad parameter for field: " + key + " for class: " + this.getClass().toString(), "Bad parameter definition for field: " + key + " in fillFromParms for class: " + this.getClass().toString() + " (field was declared static or transient)"); } // Only support a single annotation which is an API, and is required API api = (API)f.getAnnotations()[0]; // Must have one of these set to be an input field if( api.direction() == API.Direction.OUTPUT ) { throw new H2OIllegalArgumentException( "Attempting to set output field: " + key + " for class: " + this.getClass().toString(), "Attempting to set output field: " + key + " in fillFromParms for class: " + this.getClass().toString() + " (field was annotated as API.Direction.OUTPUT)"); } // Parse value and set the field setField(this, f, key, parms.getProperty(key), api.required(), thisSchemaClass); } catch( ArrayIndexOutOfBoundsException aioobe ) { // Come here if missing annotation throw H2O.fail("Broken internal schema; missing API annotation for field: " + key); } catch( IllegalAccessException iae ) { // Come here if field is final or private throw H2O.fail("Broken internal schema; field cannot be private nor final: " + key); } } // Here every thing in 'parms' was set into some field - so we have already // checked for unknown or extra parms. // Confirm required fields are set if (checkRequiredFields) { for (Field f : fields.values()) { int mods = f.getModifiers(); if (Modifier.isTransient(mods) || Modifier.isStatic(mods)) continue; // Ignore transient & static try { API api = (API) f.getAnnotations()[0]; // TODO: is there a more specific way we can do this? if (api.required()) { if (parms.getProperty(f.getName()) == null) { IcedHashMap.IcedHashMapStringObject values = new IcedHashMap.IcedHashMapStringObject(); values.put("schema", this.getClass().getSimpleName()); values.put("argument", f.getName()); throw new H2OIllegalArgumentException( "Required field " + f.getName() + " not specified", "Required field " + f.getName() + " not specified for schema class: " + this .getClass(), values); } } } catch (ArrayIndexOutOfBoundsException e) { throw H2O.fail("Missing annotation for API field: " + f.getName()); } } } return (S) this; } /** * Safe method to set the field on given schema object * @param o schema object to modify * @param f field to modify * @param key name of field to modify * @param value string-based representation of value to set * @param required is field required by API * @param thisSchemaClass class of schema handling this (can be null) * @throws IllegalAccessException */ public static <T extends Schema> void setField(T o, Field f, String key, String value, boolean required, Class thisSchemaClass) throws IllegalAccessException { // Primitive parse by field type Object parse_result = parse(key, value, f.getType(), required, thisSchemaClass); if (parse_result != null && f.getType().isArray() && parse_result.getClass().isArray() && (f.getType().getComponentType() != parse_result.getClass().getComponentType())) { // We have to conform an array of primitives. There's got to be a better way. . . if (parse_result.getClass().getComponentType() == int.class && f.getType().getComponentType() == Integer.class) { int[] from = (int[])parse_result; Integer[] copy = new Integer[from.length]; for (int i = 0; i < from.length; i++) copy[i] = from[i]; f.set(o, copy); } else if (parse_result.getClass().getComponentType() == Integer.class && f.getType().getComponentType() == int.class) { Integer[] from = (Integer[])parse_result; int[] copy = new int[from.length]; for (int i = 0; i < from.length; i++) copy[i] = from[i]; f.set(o, copy); } else if (parse_result.getClass().getComponentType() == Double.class && f.getType().getComponentType() == double.class) { Double[] from = (Double[])parse_result; double[] copy = new double[from.length]; for (int i = 0; i < from.length; i++) copy[i] = from[i]; f.set(o, copy); } else if (parse_result.getClass().getComponentType() == Float.class && f.getType().getComponentType() == float.class) { Float[] from = (Float[])parse_result; float[] copy = new float[from.length]; for (int i = 0; i < from.length; i++) copy[i] = from[i]; f.set(o, copy); } else { throw H2O.fail("Don't know how to cast an array of: " + parse_result.getClass().getComponentType() + " to an array of: " + f.getType().getComponentType()); } } else { f.set(o, parse_result); } } static <E> Object parsePrimitve(String s, Class fclz) { if (fclz.equals(String.class)) return s; // Strings already the right primitive type if (fclz.equals(int.class)) return parseInteger(s, int.class); if (fclz.equals(long.class)) return parseInteger(s, long.class); if (fclz.equals(short.class)) return parseInteger(s, short.class); if (fclz.equals(boolean.class)) { if (s.equals("0")) return Boolean.FALSE; if (s.equals("1")) return Boolean.TRUE; return Boolean.valueOf(s); } if (fclz.equals(byte.class)) return parseInteger(s, byte.class); if (fclz.equals(double.class)) return Double.valueOf(s); if (fclz.equals(float.class)) return Float.valueOf(s); //FIXME: if (fclz.equals(char.class)) return Character.valueOf(s); throw H2O.fail("Unknown primitive type to parse: " + fclz.getSimpleName()); } // URL parameter parse static <E> Object parse(String field_name, String s, Class fclz, boolean required, Class schemaClass) { if (fclz.isPrimitive() || String.class.equals(fclz)) { try { return parsePrimitve(s, fclz); } catch (NumberFormatException ne) { String msg = "Illegal argument for field: " + field_name + " of schema: " + schemaClass.getSimpleName() + ": cannot convert \"" + s + "\" to type " + fclz.getSimpleName(); throw new H2OIllegalArgumentException(msg); } } // An array? if (fclz.isArray()) { // Get component type Class<E> afclz = (Class<E>) fclz.getComponentType(); // Result E[] a = null; // Handle simple case with null-array if (s.equals("null") || s.length() == 0) return null; // Splitted values String[] splits; // "".split(",") => {""} so handle the empty case explicitly if (s.startsWith("[") && s.endsWith("]") ) { // It looks like an array read(s, 0, '[', fclz); read(s, s.length() - 1, ']', fclz); String inside = s.substring(1, s.length() - 1).trim(); if (inside.length() == 0) splits = new String[]{}; else splits = splitArgs(inside); } else { // Lets try to parse single value as an array! // See PUBDEV-1955 splits = new String[] { s.trim() }; } // Can't cast an int[] to an Object[]. Sigh. if (afclz == int.class) { // TODO: other primitive types. . . a = (E[]) Array.newInstance(Integer.class, splits.length); } else if (afclz == double.class) { a = (E[]) Array.newInstance(Double.class, splits.length); } else if (afclz == float.class) { a = (E[]) Array.newInstance(Float.class, splits.length); } else { // Fails with primitive classes; need the wrapper class. Thanks, Java. a = (E[]) Array.newInstance(afclz, splits.length); } for (int i = 0; i < splits.length; i++) { if (String.class == afclz || KeyV3.class.isAssignableFrom(afclz)) { // strip quotes off string values inside array String stripped = splits[i].trim(); if ("null".equals(stripped)) { a[i] = null; } else if (!stripped.startsWith("\"") || !stripped.endsWith("\"")) { String msg = "Illegal argument for field: " + field_name + " of schema: " + schemaClass.getSimpleName() + ": string and key arrays' values must be double quoted, but the client sent: " + stripped; IcedHashMap.IcedHashMapStringObject values = new IcedHashMap.IcedHashMapStringObject(); values.put("function", fclz.getSimpleName() + ".fillFromParms()"); values.put("argument", field_name); values.put("value", stripped); throw new H2OIllegalArgumentException(msg, msg, values); } stripped = stripped.substring(1, stripped.length() - 1); a[i] = (E) parse(field_name, stripped, afclz, required, schemaClass); } else { a[i] = (E) parse(field_name, splits[i].trim(), afclz, required, schemaClass); } } return a; } if (fclz.equals(Key.class)) if ((s == null || s.length() == 0) && required) throw new H2OKeyNotFoundArgumentException(field_name, s); else if (!required && (s == null || s.length() == 0)) return null; else return Key.make(s.startsWith("\"") ? s.substring(1, s.length() - 1) : s); // If the key name is in an array we need to trim surrounding quotes. if (KeyV3.class.isAssignableFrom(fclz)) { if ((s == null || s.length() == 0) && required) throw new H2OKeyNotFoundArgumentException(field_name, s); if (!required && (s == null || s.length() == 0)) return null; return KeyV3.make(fclz, Key.make(s.startsWith("\"") ? s.substring(1, s.length() - 1) : s)); // If the key name is in an array we need to trim surrounding quotes. } if (Enum.class.isAssignableFrom(fclz)) return Enum.valueOf(fclz, s); // TODO: try/catch needed! // TODO: these can be refactored into a single case using the facilities in Schema: if (FrameV3.class.isAssignableFrom(fclz)) { if ((s == null || s.length() == 0) && required) throw new H2OKeyNotFoundArgumentException(field_name, s); else if (!required && (s == null || s.length() == 0)) return null; else { Value v = DKV.get(s); if (null == v) return null; // not required if (!v.isFrame()) throw H2OIllegalArgumentException.wrongKeyType(field_name, s, "Frame", v.get().getClass()); return new FrameV3((Frame) v.get()); // TODO: version! } } if (JobV3.class.isAssignableFrom(fclz)) { if ((s == null || s.length() == 0) && required) throw new H2OKeyNotFoundArgumentException(s); else if (!required && (s == null || s.length() == 0)) return null; else { Value v = DKV.get(s); if (null == v) return null; // not required if (!v.isJob()) throw H2OIllegalArgumentException.wrongKeyType(field_name, s, "Job", v.get().getClass()); return new JobV3().fillFromImpl((Job) v.get()); // TODO: version! } } // TODO: for now handle the case where we're only passing the name through; later we need to handle the case // where the frame name is also specified. if (FrameV3.ColSpecifierV3.class.isAssignableFrom(fclz)) { return new FrameV3.ColSpecifierV3(s); } if (ModelSchema.class.isAssignableFrom(fclz)) throw H2O.fail("Can't yet take ModelSchema as input."); /* if( (s==null || s.length()==0) && required ) throw new IllegalArgumentException("Missing key"); else if (!required && (s == null || s.length() == 0)) return null; else { Value v = DKV.get(s); if (null == v) return null; // not required if (! v.isModel()) throw new IllegalArgumentException("Model argument points to a non-model object."); return v.get(); } */ throw H2O.fail("Unimplemented schema fill from " + fclz.getSimpleName()); } // parse() /** * Helper functions for parse() **/ /** * Parses a string into an integer data type specified by parameter return_type. Accepts any format that * is accepted by java's BigDecimal class. * - Throws a NumberFormatException if the evaluated string is not an integer or if the value is too large to * be stored into return_type without overflow. * - Throws an IllegalAgumentException if return_type is not an integer data type. **/ static private <T> T parseInteger(String s, Class<T> return_type) { try { java.math.BigDecimal num = new java.math.BigDecimal(s); T result = (T) num.getClass().getDeclaredMethod(return_type.getSimpleName() + "ValueExact", new Class[0]).invoke(num); return result; } catch (InvocationTargetException ite) { throw new NumberFormatException("The expression's numeric value is out of the range of type " + return_type.getSimpleName()); } catch (NoSuchMethodException nsme) { throw new IllegalArgumentException(return_type.getSimpleName() + " is not an integer data type"); } catch (IllegalAccessException iae) { throw H2O.fail("Cannot parse expression as " + return_type.getSimpleName() + " (Illegal Access)"); } } static private int read( String s, int x, char c, Class fclz ) { if( peek(s,x,c) ) return x+1; throw new IllegalArgumentException("Expected '"+c+"' while reading a "+fclz.getSimpleName()+", but found "+s); } static private boolean peek( String s, int x, char c ) { return x < s.length() && s.charAt(x) == c; } // Splits on commas, but ignores commas in double quotes. Required // since using a regex blow the stack on long column counts // TODO: detect and complain about malformed JSON private static String[] splitArgs(String argStr) { StringBuffer sb = new StringBuffer (argStr); StringBuffer arg = new StringBuffer (); List<String> splitArgList = new ArrayList<String> (); boolean inDoubleQuotes = false; boolean inSquareBrackets = false; // for arrays of arrays for (int i=0; i < sb.length(); i++) { if (sb.charAt(i) == '"' && !inDoubleQuotes && !inSquareBrackets) { inDoubleQuotes = true; arg.append(sb.charAt(i)); } else if (sb.charAt(i) == '"' && inDoubleQuotes && !inSquareBrackets) { inDoubleQuotes = false; arg.append(sb.charAt(i)); } else if (sb.charAt(i) == ',' && !inDoubleQuotes && !inSquareBrackets) { splitArgList.add(arg.toString()); // clear the field for next word arg.setLength(0); } else if (sb.charAt(i) == '[') { inSquareBrackets = true; arg.append(sb.charAt(i)); } else if (sb.charAt(i) == ']') { inSquareBrackets = false; arg.append(sb.charAt(i)); } else { arg.append(sb.charAt(i)); } } if (arg.length() > 0) splitArgList.add(arg.toString()); return splitArgList.toArray(new String[splitArgList.size()]); } private static boolean schemas_registered = false; /** * Find all schemas using reflection and register them. */ synchronized static public void registerAllSchemasIfNecessary() { if (schemas_registered) return; // if (!Paxos._cloudLocked) return; // TODO: It's never getting locked. . . :-( long before = System.currentTimeMillis(); // Microhack to effect Schema.register(Schema.class), which is // normally not allowed because it has no version: new Schema(); String[] packages = new String[] { "water", "hex", /* Disallow schemas whose parent is in another package because it takes ~4s to do the getSubTypesOf call: "" */}; // For some reason when we're run under Hadoop Reflections is failing to find some of the classes unless we're extremely explicit here: Class<? extends Schema> clzs[] = new Class[] { Schema.class, ModelBuilderSchema.class, ModelSchema.class, ModelOutputSchema.class, ModelParametersSchema.class }; for (String pkg : packages) { Reflections reflections = new Reflections(pkg); for (Class<? extends Schema> clz : clzs) { // NOTE: Reflections sees ModelOutputSchema but not ModelSchema. Another bug to work around: Log.debug("Registering: " + clz.toString() + " in package: " + pkg); if (!Modifier.isAbstract(clz.getModifiers())) Schema.register(clz); // Register the subclasses: Log.debug("Registering subclasses of: " + clz.toString() + " in package: " + pkg); for (Class<? extends Schema> schema_class : reflections.getSubTypesOf(clz)) if (!Modifier.isAbstract(schema_class.getModifiers())) Schema.register(schema_class); } } schemas_registered = true; Log.info("Registered: " + Schema.schemas().size() + " schemas in: " + (System.currentTimeMillis() - before) + "mS"); } /** * Return an immutable Map of all the schemas: schema_name -> schema Class. */ protected static Map<String, Class<? extends Schema>> schemas() { return Collections.unmodifiableMap(new HashMap<>(schemas)); } /** * For a given version and Iced class return the appropriate Schema class, if any.f * @see #schemaClass(int, java.lang.String) */ protected static Class<? extends Schema> schemaClass(int version, Class<? extends Iced> impl_class) { return schemaClass(version, impl_class.getSimpleName()); } /** * For a given version and type (Iced class simpleName) return the appropriate Schema * class, if any. * <p> * If a higher version is asked for than is available (e.g., if the highest version of * Frame is FrameV2 and the client asks for the schema for (Frame, 17) then FrameV2 will * be returned. This compatibility lookup is cached. */ private static Class<? extends Schema> schemaClass(int version, String type) { if (version < 1) return null; Class<? extends Schema> clz = iced_to_schema.get(new Pair(type, version)); if (null != clz) return clz; // found! clz = schemaClass(version - 1, type); if (null != clz) iced_to_schema.put(new Pair(type, version), clz); // found a lower-numbered schema: cache return clz; } /** * For a given version and Iced object return an appropriate Schema instance, if any. * @see #schema(int, java.lang.String) */ public static Schema schema(int version, Iced impl) { return schema(version, impl.getClass().getSimpleName()); } /** * For a given version and Iced class return an appropriate Schema instance, if any. * @throws H2OIllegalArgumentException if Class.newInstance() throws * @see #schema(int, java.lang.String) */ public static Schema schema(int version, Class<? extends Iced> impl_class) { return schema(version, impl_class.getSimpleName()); } // FIXME: can be parameterized by type: public static <T extends Schema> T newInstance(Class<T> clz) public static <T extends Schema> T newInstance(Class<T> clz) { T s = null; try { s = clz.newInstance(); } catch (Exception e) { throw new H2OIllegalArgumentException("Failed to instantiate schema of class: " + clz.getCanonicalName() + ", cause: " + e); } return s; } /** * For a given version and type (Iced class simpleName) return an appropriate new Schema * object, if any. * <p> * If a higher version is asked for than is available (e.g., if the highest version of * Frame is FrameV2 and the client asks for the schema for (Frame, 17) then an instance * of FrameV2 will be returned. This compatibility lookup is cached. * @throws H2ONotFoundArgumentException if an appropriate schema is not found */ private static Schema schema(int version, String type) { Class<? extends Schema> clz = schemaClass(version, type); if (null == clz) clz = schemaClass(Schema.getExperimentalVersion(), type); if (null == clz) throw new H2ONotFoundArgumentException("Failed to find schema for version: " + version + " and type: " + type, "Failed to find schema for version: " + version + " and type: " + type); return Schema.newInstance(clz); } /** * For a given schema_name (e.g., "FrameV2") return an appropriate new schema object (e.g., a water.api.Framev2). * @throws H2ONotFoundArgumentException if an appropriate schema is not found */ protected static Schema newInstance(String schema_name) { Class<? extends Schema> clz = schemas.get(schema_name); if (null == clz) throw new H2ONotFoundArgumentException("Failed to find schema for schema_name: " + schema_name, "Failed to find schema for schema_name: " + schema_name); return Schema.newInstance(clz); } /** * Generate Markdown documentation for this Schema possibly including only the input or output fields. * @throws H2ONotFoundArgumentException if reflection on a field fails */ public StringBuffer markdown(StringBuffer appendToMe, boolean include_input_fields, boolean include_output_fields) { return markdown(new SchemaMetadata(this), appendToMe, include_input_fields, include_output_fields); } /** * Append Markdown documentation for another Schema, given we already have the metadata constructed. * @throws H2ONotFoundArgumentException if reflection on a field fails */ public StringBuffer markdown(SchemaMetadata meta, StringBuffer appendToMe) { return markdown(meta, appendToMe, true, true); } /** * Generate Markdown documentation for this Schema, given we already have the metadata constructed. * @throws H2ONotFoundArgumentException if reflection on a field fails */ public StringBuffer markdown(SchemaMetadata meta , StringBuffer appendToMe, boolean include_input_fields, boolean include_output_fields) { MarkdownBuilder builder = new MarkdownBuilder(); builder.comment("Preview with http://jbt.github.io/markdown-editor"); builder.heading1("schema ", this.getClass().getSimpleName()); builder.hline(); // builder.paragraph(metadata.summary); // TODO: refactor with Route.markdown(): // fields boolean first; // don't print the table at all if there are no rows try { if (include_input_fields) { first = true; builder.heading2("input fields"); for (SchemaMetadata.FieldMetadata field_meta : meta.fields) { if (field_meta.direction == API.Direction.INPUT || field_meta.direction == API.Direction.INOUT) { if (first) { builder.tableHeader("name", "required?", "level", "type", "schema?", "schema", "default", "description", "values", "is member of frames", "is mutually exclusive with"); first = false; } builder.tableRow( field_meta.name, String.valueOf(field_meta.required), field_meta.level.name(), field_meta.type, String.valueOf(field_meta.is_schema), field_meta.is_schema ? field_meta.schema_name : "", (null == field_meta.value ? "(null)" : field_meta.value.toString()), // Something better for toString()? field_meta.help, (field_meta.values == null || field_meta.values.length == 0 ? "" : Arrays.toString(field_meta.values)), (field_meta.is_member_of_frames == null ? "[]" : Arrays.toString(field_meta.is_member_of_frames)), (field_meta.is_mutually_exclusive_with == null ? "[]" : Arrays.toString(field_meta.is_mutually_exclusive_with)) ); } } if (first) builder.paragraph("(none)"); } if (include_output_fields) { first = true; builder.heading2("output fields"); for (SchemaMetadata.FieldMetadata field_meta : meta.fields) { if (field_meta.direction == API.Direction.OUTPUT || field_meta.direction == API.Direction.INOUT) { if (first) { builder.tableHeader("name", "type", "schema?", "schema", "default", "description", "values", "is member of frames", "is mutually exclusive with"); first = false; } builder.tableRow( field_meta.name, field_meta.type, String.valueOf(field_meta.is_schema), field_meta.is_schema ? field_meta.schema_name : "", (null == field_meta.value ? "(null)" : field_meta.value.toString()), // something better than toString()? field_meta.help, (field_meta.values == null || field_meta.values.length == 0 ? "" : Arrays.toString(field_meta.values)), (field_meta.is_member_of_frames == null ? "[]" : Arrays.toString(field_meta.is_member_of_frames)), (field_meta.is_mutually_exclusive_with == null ? "[]" : Arrays.toString(field_meta.is_mutually_exclusive_with))); } } if (first) builder.paragraph("(none)"); } // TODO: render examples and other stuff, if it's passed in } catch (Exception e) { IcedHashMap.IcedHashMapStringObject values = new IcedHashMap.IcedHashMapStringObject(); values.put("schema", this); // TODO: This isn't quite the right exception type: throw new H2OIllegalArgumentException("Caught exception using reflection on schema: " + this, "Caught exception using reflection on schema: " + this + ": " + e, values); } if (null != appendToMe) appendToMe.append(builder.stringBuffer()); return builder.stringBuffer(); } // markdown() }
Java
# Develop based on 'TypeScript & AngularJS TodoMVC Example' ## available on Chrome
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>obl</title> <link rel="root" href=""/> <!-- for JS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="../../css/jquery-ui-redmond.css"/> <link rel="stylesheet" type="text/css" href="../../css/style.css"/> <link rel="stylesheet" type="text/css" href="../../css/style-vis.css"/> <link rel="stylesheet" type="text/css" href="../../css/hint.css"/> <script type="text/javascript" src="../../lib/ext/head.load.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script> <script>document.addEventListener("DOMContentLoaded", function(event) {anchors.add();});</script> <!-- Set up this custom Google search at https://cse.google.com/cse/business/settings?cx=001145188882102106025:dl1mehhcgbo --> <!-- DZ 2021-01-22: I am temporarily hiding the search field to find out whether it slows down loading of the title page. <script> (function() { var cx = '001145188882102106025:dl1mehhcgbo'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> --> <!-- <link rel="shortcut icon" href="favicon.ico"/> --> </head> <body> <div id="main" class="center"> <div id="hp-header"> <table width="100%"><tr><td width="50%"> <span class="header-text"><a href="http://universaldependencies.org/#language-ru">home</a></span> <span class="header-text"><a href="https://github.com/universaldependencies/docs/edit/pages-source/_ru/dep/obl.md" target="#">edit page</a></span> <span class="header-text"><a href="https://github.com/universaldependencies/docs/issues">issue tracker</a></span> </td><td> <gcse:search></gcse:search> </td></tr></table> </div> <hr/> <div class="v2complete"> This page pertains to UD version 2. </div> <div id="content"> <noscript> <div id="noscript"> It appears that you have Javascript disabled. Please consider enabling Javascript for this page to see the visualizations. </div> </noscript> <!-- The content may include scripts and styles, hence we must load the shared libraries before the content. --> <script type="text/javascript"> console.time('loading libraries'); var root = '../../'; // filled in by jekyll head.js( // External libraries // DZ: Copied from embedding.html. I don't know which one is needed for what, so I'm currently keeping them all. root + 'lib/ext/jquery.min.js', root + 'lib/ext/jquery.svg.min.js', root + 'lib/ext/jquery.svgdom.min.js', root + 'lib/ext/jquery.timeago.js', root + 'lib/ext/jquery-ui.min.js', root + 'lib/ext/waypoints.min.js', root + 'lib/ext/jquery.address.min.js' ); </script> <h2><code>obl</code>: oblique modifier</h2> <p>The <code class="language-plaintext highlighter-rouge">obl</code> relation is used for non-core nominal dependents of clausal predicates.</p> <pre><code class="language-sdparse">Последний раз мы разговаривали зимой . \n Last time we talked in-winter . obl(разговаривали, зимой) obl(talked, in-winter) </code></pre> <p>One subtype of <code class="language-plaintext highlighter-rouge">obl</code> is introduced in Russian: <a href="">obl:agent</a> for agents of passive verbs. <!-- Interlanguage links updated St lis 3 20:59:04 CET 2021 --></p> <!-- "in other languages" links --> <hr/> obl in other languages: [<a href="../../bg/dep/obl.html">bg</a>] [<a href="../../bm/dep/obl.html">bm</a>] [<a href="../../cop/dep/obl.html">cop</a>] [<a href="../../cs/dep/obl.html">cs</a>] [<a href="../../de/dep/obl.html">de</a>] [<a href="../../ess/dep/obl.html">ess</a>] [<a href="../../fr/dep/obl.html">fr</a>] [<a href="../../fro/dep/obl.html">fro</a>] [<a href="../../ga/dep/obl.html">ga</a>] [<a href="../../gd/dep/obl.html">gd</a>] [<a href="../../gsw/dep/obl.html">gsw</a>] [<a href="../../hy/dep/obl.html">hy</a>] [<a href="../../ja/dep/obl.html">ja</a>] [<a href="../../no/dep/obl.html">no</a>] [<a href="../../pcm/dep/obl.html">pcm</a>] [<a href="../../ru/dep/obl.html">ru</a>] [<a href="../../sv/dep/obl.html">sv</a>] [<a href="../../swl/dep/obl.html">swl</a>] [<a href="../../tr/dep/obl.html">tr</a>] [<a href="../../u/dep/obl.html">u</a>] [<a href="../../yue/dep/obl.html">yue</a>] [<a href="../../zh/dep/obl.html">zh</a>] </div> <!-- support for embedded visualizations --> <script type="text/javascript"> var root = '../../'; // filled in by jekyll head.js( // We assume that external libraries such as jquery.min.js have already been loaded outside! // (See _layouts/base.html.) // brat helper modules root + 'lib/brat/configuration.js', root + 'lib/brat/util.js', root + 'lib/brat/annotation_log.js', root + 'lib/ext/webfont.js', // brat modules root + 'lib/brat/dispatcher.js', root + 'lib/brat/url_monitor.js', root + 'lib/brat/visualizer.js', // embedding configuration root + 'lib/local/config.js', // project-specific collection data root + 'lib/local/collections.js', // Annodoc root + 'lib/annodoc/annodoc.js', // NOTE: non-local libraries 'https://spyysalo.github.io/conllu.js/conllu.js' ); var webFontURLs = [ // root + 'static/fonts/Astloch-Bold.ttf', root + 'static/fonts/PT_Sans-Caption-Web-Regular.ttf', root + 'static/fonts/Liberation_Sans-Regular.ttf' ]; var setupTimeago = function() { jQuery("time.timeago").timeago(); }; head.ready(function() { setupTimeago(); // mark current collection (filled in by Jekyll) Collections.listing['_current'] = 'ru'; // perform all embedding and support functions Annodoc.activate(Config.bratCollData, Collections.listing); }); </script> <!-- google analytics --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-55233688-1', 'auto'); ga('send', 'pageview'); </script> <div id="footer"> <p class="footer-text">&copy; 2014–2021 <a href="http://universaldependencies.org/introduction.html#contributors" style="color:gray">Universal Dependencies contributors</a>. Site powered by <a href="http://spyysalo.github.io/annodoc" style="color:gray">Annodoc</a> and <a href="http://brat.nlplab.org/" style="color:gray">brat</a></p>. </div> </div> </body> </html>
Java
package eu.uqasar.model.measure; /* * #%L * U-QASAR * %% * Copyright (C) 2012 - 2015 U-QASAR Consortium * %% * 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. * #L% */ import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.wicket.model.IModel; import eu.uqasar.util.resources.IResourceKeyProvider; import eu.uqasar.util.resources.ResourceBundleLocator; public enum MetricSource implements IResourceKeyProvider { TestingFramework("test"), IssueTracker("issue"), StaticAnalysis("static"), ContinuousIntegration("ci"), CubeAnalysis("cube"), VersionControl("vcs"), Manual("manual"), ; private final String labelKey; MetricSource(final String labelKey) { this.labelKey = labelKey; } public String toString() { return getLabelModel().getObject(); } public IModel<String> getLabelModel() { return ResourceBundleLocator.getLabelModel(this.getClass(), this); } @Override public String getKey() { return "label.source." + this.labelKey; } public static List<MetricSource> getAllMetricSources(){ List<MetricSource> list = new ArrayList<>(); Collections.addAll(list, MetricSource.values()); return list; } }
Java
'use strict'; import * as _ from 'lodash'; import * as fs from 'fs'; import * as xml2js from 'xml2js'; import * as Mustache from 'mustache'; import * as helpers from './helpers'; import * as utils from './utils'; import * as conf from './conf'; const parseString: (xml: string, options: xml2js.Options) => Promise<any> = helpers.promisify_callback(xml2js.parseString); const readFile = helpers.promisify_callback(fs.readFile); // alike xpath //k function deepGetKey(o, k) { if (!o) { return undefined; } else if (k in o) { return o[k]; } else if (_.isArray(o)) { return o.length === 1 ? deepGetKey(o[0], k) : undefined; } else { let ks = _.keys(o); return ks.length === 1 ? deepGetKey(o[ks[0]], k) : undefined; } } function raw_soap(url, body) { let headers = { SOAPAction: "", "content-type": "text/xml", }; return utils.post(url, body, { headers }).then(result => ( parseString(result, { explicitArray: false, ignoreAttrs: true }) )); } function soap(templateName, params, opts : { responseTag: string, fault_to_string?: (any) => string }) { if (!conf.esup_activ_bo.url) throw "configuration issue: conf.esup_activ_bo.url is missing"; let templateFile = __dirname + "/templates/esup-activ-bo/" + templateName; return readFile(templateFile).then(data => ( Mustache.render(data.toString(), helpers.mapLeaves(params, helpers.escapeXml)) )).then(body => { //console.log(body); const operation = conf.esup_activ_bo.url.replace(/\/AccountManagement$/, '') + '/' + (templateName.match(/Cas/) ? 'CasAccountManagement' : 'AccountManagement'); return raw_soap(operation, body); }).then(xml => { //console.dir(xml, { depth: null }); let response = deepGetKey(xml, opts.responseTag); if (response === undefined) throw get_fault(xml, opts.fault_to_string) || JSON.stringify(xml); return response; }) } const fault_detail_key = (fault) => fault.detail && Object.keys(fault.detail)[0] // Example of response: // <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Identification ...chou..e : (&amp;(supannEmpId=14464)(up1BirthDay=19741002000000Z))</faultstring><detail><AuthentificationException xmlns="http://remote.services.activbo.esupportail.org" /></detail></soap:Fault></soap:Body></soap:Envelope> function get_fault(xml, to_string = undefined) { let fault = deepGetKey(xml, 'soap:Fault'); return fault && (to_string && to_string(fault) || fault.faultstring); } function _get_entries(response) { let entries = deepGetKey(response, 'entry'); if (!_.isArray(entries)) return undefined; let r = _.zipObject(_.map(entries, 'key'), _.map(entries, 'value')); r = _.mapValues(r, val => val.split(conf.esup_activ_bo.multiValue_separator)); return r; } // returns "attrPersoInfo" + code, mail, supannAliasLogin // throws: "Authentification invalide pour l'utilisateur xxx" // throws: "Login invalide" export const authentificateUser = (supannAliasLogin: string, password: string, attrPersoInfo: string[]) => ( soap("authentificateUser.xml", { id: supannAliasLogin, password, attrPersoInfo }, { responseTag: 'ns1:authentificateUserResponse' }).then(_get_entries) ) export const authentificateUserWithCas = (supannAliasLogin: string, proxyticket: string, targetUrl: string, attrPersoInfo: string[]) => ( soap("authentificateUserWithCas.xml", { id: supannAliasLogin, proxyticket, targetUrl, attrPersoInfo }, { responseTag: 'ns1:authentificateUserWithCasResponse' }).then(_get_entries) ) // returns "attrPersoInfo" + possibleChannels, mail, supannAliasLogin + code if account is not activated // ("code" is useful for setPassword or validateCode) // throws: "AuthentificationException" export function validateAccount(userInfoToValidate: Dictionary<string>, attrPersoInfo: string[]): Promise<Dictionary<string>> { console.log("esup_activ_bo._validateAccount " + JSON.stringify(userInfoToValidate)); const hashInfToValidate = _.map(userInfoToValidate, (value, key) => ({ value, key })); let params = { hashInfToValidate, attrPersoInfo }; return soap("validateAccount.xml", params, { responseTag: 'ns1:validateAccountResponse', fault_to_string: fault_detail_key }).then(_get_entries); } // throws: "UserPermissionException" export const updatePersonalInformations = (supannAliasLogin: string, code: string, userInfo: Dictionary<string>) => { const hashBeanPersoInfo = _.map(userInfo, (value, key) => { if (_.isArray(value)) value = value.join(conf.esup_activ_bo.multiValue_separator) return { value, key } }); return soap("updatePersonalInformations.xml", { id: supannAliasLogin, code, hashBeanPersoInfo }, { responseTag: 'ns1:updatePersonalInformationsResponse', fault_to_string: fault_detail_key }) } async function _getCode(hashInfToValidate: Dictionary<string>): Promise<string> { const vals = await validateAccount(hashInfToValidate, []); if (!vals.code) throw "esup_activ_bo.validateAccount did not return code for " + JSON.stringify(hashInfToValidate) + ". Account already activated?"; return vals.code; } // NB: no error in case of unknown channel // throws: "Utilisateur xxx inconnu" // throws: "Utilisateur sdianat n'a pas de mail perso" export const sendCode = (supannAliasLogin: string, channel: string) => ( // Response in case of success: // <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:sendCodeResponse xmlns:ns1="http://remote.services.activbo.esupportail.org" /></soap:Body></soap:Envelope> soap("sendCode.xml", { id: supannAliasLogin, channel }, { responseTag: 'ns1:sendCodeResponse' }).then(response => { if (response === '') return; // OK! else throw "unexpected sendCode error: " + JSON.stringify(response); }) ); export const validateCode = (supannAliasLogin: string, code: string) => ( // Response in case of success: // <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:validateCodeResponse xmlns:ns1="http://remote.services.activbo.esupportail.org"><ns1:out>true</ns1:out></ns1:validateCodeResponse></soap:Body></soap:Envelope> soap("validateCode.xml", { id: supannAliasLogin, code }, { responseTag: 'ns1:validateCodeResponse' }).then(response => { return response['ns1:out'] === 'true'; }) ); export function setPassword(supannAliasLogin: string, code: string, password: string) { console.log("esup_activ_bo._setPassword " + supannAliasLogin + " using code " + code); let params = { id: supannAliasLogin, code, password }; return soap("setPassword.xml", params, { responseTag: 'ns1:setPasswordResponse' }).then(response => { if (response === '') return; // OK! else throw "unexpected setPassword error: " + JSON.stringify(response); }); } // TODO //export const changeLogin = (supannAliasLogin: string, code: string, newLogin: string, currentPassword: string) => ... //export const changeLogin = (supannAliasLogin: string, code: string, newLogin: string) => ... export const setNewAccountPassword = (uid: string, supannAliasLogin: string, password: string) => ( _getCode({ uid }).then(code => ( code && setPassword(supannAliasLogin, code, password) )) );
Java
--- title: Common Addons --- ## Kubernetes Dashboard [Kubernetes Dashboard](https://github.com/kubernetes/dashboard) is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage applications running in the cluster and troubleshoot them, as well as manage the cluster itself. ### Installation [Installation](https://github.com/kubernetes/dashboard) is straight forward: ``` kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml ``` ### Granting Permissions You can grant full admin privileges to Dashboard's Service Account by creating below `ClusterRoleBinding`. ``` kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard ``` ### Accessing the Dashboard To access Dashboard from your local workstation you must create a secure channel to your Kubernetes cluster. Run the following command: ``` kubectl proxy ``` Now access Dashboard at: [http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/.](http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/.) Skip the selection of Kubeconfig or Token: ![Selection](https://raw.githubusercontent.com/sapcc/kubernikus/master/assets/images/docs/containers/kubernetes/selection.png) ### Exposing the Dashboard In order to expose the Dashboard without the local proxy, we need to: * Create a service of type `LoadBalancer` * Open the security groups for load-balancer to node communication * Assign a floating IP Let's create the service: ``` kubectl expose deployment kubernetes-dashboard --namespace kube-system --type=LoadBalancer --name kubernete-dashboard-external --port=443 --target-port=8443 ``` This will create a Kubernetes service that exposes the dashboard on a high-level service port on each node of the cluster. Additionally, a load-balancer is created in OpenStack which points to each node. ![Load Balancer](https://raw.githubusercontent.com/sapcc/kubernikus/master/assets/images/docs/containers/kubernetes/loadbalancer0.png) As the load-balancers are not in the default instance group, they need to be added to the security group explicitly. Without this, the health monitors won't be able to reach the node port and the listener will be offline. ![Security Group](https://raw.githubusercontent.com/sapcc/kubernikus/master/assets/images/docs/containers/kubernetes/loadbalancer1.png) Once the health monitors turn healthy, attaching a floating IP will make the dashboard accessible from the outside via `https` on port `443`. ![FIP](https://raw.githubusercontent.com/sapcc/kubernikus/master/assets/images/docs/containers/kubernetes/loadbalancer2.png) ~> This setup exposes an unauthenticated Dashboard with full access to the cluster. This is a security risk. See the [Access Control](https://github.com/kubernetes/dashboard/wiki/Access-control) documentation for more info. ## Private Docker Registry in Kubernikus You can create a private docker registry in your Kubernikus cluster to store your Docker images. ### How it works The private registry runs as a Pod in your cluster. A proxy on each node is exposing a port onto the node (via a hostPort), which Docker accepts as "secure", since it is accessed by localhost. ### Create a persisten volume claim There is already a default storageClass and your cluster knows that storage exists. You just have to create a persistent volume claim to claim the storage. Adjust the storage size as needed. ``` kind: PersistentVolumeClaim apiVersion: v1 metadata: name: registry-storage spec: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi ``` ### Run the registry Now you can run the Docker registry: ``` apiVersion: v1 kind: ReplicationController metadata: name: kube-registry-v0 labels: k8s-app: kube-registry-upstream version: v0 kubernetes.io/cluster-service: "true" spec: replicas: 1 selector: k8s-app: kube-registry-upstream version: v0 template: metadata: labels: k8s-app: kube-registry-upstream version: v0 kubernetes.io/cluster-service: "true" spec: containers: - name: registry image: registry:2.5.1 resources: limits: cpu: 100m memory: 100Mi requests: cpu: 100m memory: 100Mi env: - name: REGISTRY_HTTP_ADDR value: :5000 - name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY value: /var/lib/registry volumeMounts: - name: image-store mountPath: /var/lib/registry ports: - containerPort: 5000 name: registry protocol: TCP volumes: - name: image-store persistentVolumeClaim: claimName: registry-storage ``` ### Expose registry in the cluster ``` apiVersion: v1 kind: Service metadata: name: kube-registry labels: k8s-app: kube-registry-upstream kubernetes.io/cluster-service: "true" kubernetes.io/name: "KubeRegistry" spec: selector: k8s-app: kube-registry-upstream ports: - name: registry port: 5000 protocol: TCP ``` ### Expose the registry on each node Now that there is a running Service, you need to expose it onto each Kubernetes Node so that Docker will see it as localhost. ``` apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: registry-proxy-v0 labels: k8s-app: kube-registry-proxy kubernetes.io/cluster-service: "true" version: v0.4 spec: template: metadata: labels: k8s-app: kube-registry-proxy kubernetes.io/name: "kube-registry-proxy" kubernetes.io/cluster-service: "true" version: v0.4 spec: containers: - name: kube-registry-proxy image: gcr.io/google_containers/kube-registry-proxy:0.4 resources: limits: cpu: 100m memory: 50Mi env: - name: REGISTRY_HOST value: kube-registry - name: REGISTRY_PORT value: "5000" ports: - name: registry containerPort: 80 hostPort: 5000 ``` ### Access registry from outside Through a ssh tunnel you can push or pull images from your cluster registry. At first, export your local ip: ``` export local_ip=$(ipconfig getifaddr en0) ``` Add `${local_ip}:5000` to your local docker daemon config insecure registries. Save and restart docker daemon. After start the ssh tunnel: ``` ssh -N -L '*:5000:localhost:5000' <username>@<remote-registry-server> ``` Now you can pull or push images ``` docker pull ${local_ip}:5000/<user>/<image> ``` ## Deploy HANA Express database on Kubernikus Create a Kubernetes cluster and deploy SAP HANA, express edition containers (database server only). ### Step 1: Create Kubernetes Cluster Login to the Converged Cloud Dashboard and navigate to your project. Open `Containers > Kubernetes`. Click `Create Cluster`, choose a cluster name (max. 20 digits), give your nodepool a name, choose a number of nodes and use at least a `m1.large` flavor which offers you `4 vCPU, ~8 GB RAM` per node. Create the `kluster` (Cluster by Kubernikus). ### Step 2: Connect to your kluster Use the following instructions to get access to your Kubernetes Cluster. [Authenticating with Kubernetes](https://kubernikus.eu-nl-1.cloud.sap/docs/guide/authentication/#authenticating-with-kubernetes). ### Step 3: Create the deployments configuration files At first, you should create a `secret` with your Docker credentials in order to pull images from the docker registry. ``` kubectl create secret docker-registry docker-secret \ --docker-server=https://index.docker.io/v1/ \ --docker-username=<<DOCKER_USER>> \ --docker-password=<<DOCKER_PASSWORD>> \ --docker-email=<<DOCKER_EMAIL>> ``` ### Step 4: Create the deployments configuration files Create a file `hxe.yaml` on your local machine and copy the following content into it. Replace the password inside the ConfigMap with your own one. Please check the password policy to avoid errors: ``` SAP HANA, express edition requires a very strong password that complies with these rules: At least 8 characters At least 1 uppercase letter At least 1 lowercase letter At least 1 number Can contain special characters, but not backtick, dollar sign, backslash, single or double quote Cannot contain dictionary words Cannot contain simplistic or systematic values, like strings in ascending or descending numerical or alphabetical order ``` Create your local yaml file (`hxe.yaml`): ``` kind: ConfigMap apiVersion: v1 metadata: creationTimestamp: 2018-01-18T19:14:38Z name: hxe-pass data: password.json: |+ {"master_password" : "HXEHana1"} --- kind: PersistentVolume apiVersion: v1 metadata: name: persistent-vol-hxe labels: type: local spec: storageClassName: manual capacity: storage: 150Gi accessModes: - ReadWriteOnce hostPath: path: "/data/hxe_pv" --- kind: PersistentVolumeClaim apiVersion: v1 metadata: name: hxe-pvc spec: storageClassName: manual accessModes: - ReadWriteOnce resources: requests: storage: 50Gi --- apiVersion: apps/v1 kind: Deployment metadata: name: hxe spec: selector: matchLabels: app: hxe replicas: 1 template: metadata: labels: app: hxe spec: initContainers: - name: install image: busybox command: [ 'sh', '-c', 'chown 12000:79 /hana/mounts' ] volumeMounts: - name: hxe-data mountPath: /hana/mounts restartPolicy: Always volumes: - name: hxe-data persistentVolumeClaim: claimName: hxe-pvc - name: hxe-config configMap: name: hxe-pass imagePullSecrets: - name: docker-secret containers: - name: hxe-container image: "store/saplabs/hanaexpress:2.00.022.00.20171211.1" ports: - containerPort: 39013 name: port1 - containerPort: 39015 name: port2 - containerPort: 39017 name: port3 - containerPort: 8090 name: port4 - containerPort: 39041 name: port5 - containerPort: 59013 name: port6 args: [ "--agree-to-sap-license", "--dont-check-system", "--passwords-url", "file:///hana/hxeconfig/password.json" ] volumeMounts: - name: hxe-data mountPath: /hana/mounts - name: hxe-config mountPath: /hana/hxeconfig ``` Now create the resources with `kubectl`: ``` kubectl create -f hxe.yaml ``` The deployment creates in this example just one pod. It should be running after some seconds. The name of the pod starts with hxe and is followed by some generated numbers / hash (eg. hxe-699d795cf6-7m6jk) ``` kubectl get pods ``` Let's look into the pod for more information ``` kubectl describe pod hxe-<<value>> kubectl logs hxe-<<value>> ``` You can check if SAP HANA, express edition is running by using `HDB info` inside the pod with `kubectl exec -it hxe-pod bash`. ### Step 5: Get access to the database The container is running and pods are available inside the Kubernetes cluster. Now, you can create a [Kubernetes service](https://kubernetes.io/docs/concepts/services-networking/service/) to reach the pod. `kubectl expose deployment hxe --name=hxe-svc --type=LoadBalancer --port=39013` This example exposes the pod on port 39013. With `kubectl get svc` you can check the assigned floating ip.
Java
# Copyright 2019 The TensorFlow 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. # ============================================================================== """Tests for download_data.""" from unittest import mock from google.protobuf import text_format import tensorflow as tf from tensorboard.backend.event_processing import plugin_event_multiplexer from tensorboard.plugins import base_plugin from tensorboard.plugins.hparams import api_pb2 from tensorboard.plugins.hparams import backend_context from tensorboard.plugins.hparams import download_data EXPERIMENT = """ description: 'Test experiment' user: 'Test user' hparam_infos: [ { name: 'initial_temp' type: DATA_TYPE_FLOAT64 }, { name: 'final_temp' type: DATA_TYPE_FLOAT64 }, { name: 'string_hparam' }, { name: 'bool_hparam' }, { name: 'optional_string_hparam' } ] metric_infos: [ { name: { tag: 'current_temp' } }, { name: { tag: 'delta_temp' } }, { name: { tag: 'optional_metric' } } ] """ SESSION_GROUPS = """ session_groups { name: "group_1" hparams { key: "bool_hparam" value { bool_value: true } } hparams { key: "final_temp" value { number_value: 150.0 } } hparams { key: "initial_temp" value { number_value: 270.0 } } hparams { key: "string_hparam" value { string_value: "a string" } } metric_values { name { tag: "current_temp" } value: 10 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: 15 training_step: 2 wall_time_secs: 10.0 } metric_values { name { tag: "optional_metric" } value: 33 training_step: 20 wall_time_secs: 2.0 } sessions { name: "session_1" start_time_secs: 314159 end_time_secs: 314164 status: STATUS_SUCCESS metric_values { name { tag: "current_temp" } value: 10 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: 15 training_step: 2 wall_time_secs: 10.0 } metric_values { name { tag: "optional_metric" } value: 33 training_step: 20 wall_time_secs: 2.0 } } } session_groups { name: "group_2" hparams { key: "bool_hparam" value { bool_value: false } } hparams { key: "final_temp" value { number_value: 100.0 } } hparams { key: "initial_temp" value { number_value: 280.0 } } hparams { key: "string_hparam" value { string_value: "AAAAA"}} metric_values { name { tag: "current_temp" } value: 51.0 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: 44.5 training_step: 2 wall_time_secs: 10.3333333 } sessions { name: "session_2" start_time_secs: 314159 end_time_secs: 314164 status: STATUS_SUCCESS metric_values { name { tag: "current_temp" } value: 100 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: 150 training_step: 3 wall_time_secs: 11.0 } } sessions { name: "session_3" start_time_secs: 314159 end_time_secs: 314164 status: STATUS_FAILURE metric_values { name { tag: "current_temp" } value: 1.0 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: 1.5 training_step: 2 wall_time_secs: 10.0 } } sessions { name: "session_5" start_time_secs: 314159 end_time_secs: 314164 status: STATUS_SUCCESS metric_values { name { tag: "current_temp" } value: 52.0 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: -18 training_step: 2 wall_time_secs: 10.0 } } } session_groups { name: "group_3" hparams { key: "bool_hparam" value { bool_value: true } } hparams { key: "final_temp" value { number_value: 0.000012 } } hparams { key: "initial_temp" value { number_value: 300.0 } } hparams { key: "string_hparam" value { string_value: "a string_3"}} hparams { key: 'optional_string_hparam' value { string_value: 'BB' } } metric_values { name { tag: "current_temp" } value: 101.0 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: -15100000.0 training_step: 2 wall_time_secs: 10.0 } sessions { name: "session_4" start_time_secs: 314159 end_time_secs: 314164 status: STATUS_UNKNOWN metric_values { name { tag: "current_temp" } value: 101.0 training_step: 1 wall_time_secs: 1.0 } metric_values { name { tag: "delta_temp" } value: -151000000.0 training_step: 2 wall_time_secs: 10.0 } } } total_size: 3 """ EXPECTED_LATEX = r"""\begin{table}[tbp] \begin{tabular}{llllllll} initial\_temp & final\_temp & string\_hparam & bool\_hparam & optional\_string\_hparam & current\_temp & delta\_temp & optional\_metric \\ \hline $270$ & $150$ & a string & $1$ & & $10$ & $15$ & $33$ \\ $280$ & $100$ & AAAAA & $0$ & & $51$ & $44.5$ & - \\ $300$ & $1.2\cdot 10^{-5}$ & a string\_3 & $1$ & BB & $101$ & $-1.51\cdot 10^{7}$ & - \\ \hline \end{tabular} \end{table} """ EXPECTED_CSV = """initial_temp,final_temp,string_hparam,bool_hparam,optional_string_hparam,current_temp,delta_temp,optional_metric\r 270.0,150.0,a string,True,,10.0,15.0,33.0\r 280.0,100.0,AAAAA,False,,51.0,44.5,\r 300.0,1.2e-05,a string_3,True,BB,101.0,-15100000.0,\r """ class DownloadDataTest(tf.test.TestCase): def setUp(self): self._mock_multiplexer = mock.create_autospec( plugin_event_multiplexer.EventMultiplexer ) self._mock_tb_context = base_plugin.TBContext( multiplexer=self._mock_multiplexer ) def _run_handler(self, experiment, session_groups, response_format): experiment_proto = text_format.Merge(experiment, api_pb2.Experiment()) session_groups_proto = text_format.Merge( session_groups, api_pb2.ListSessionGroupsResponse() ) num_columns = len(experiment_proto.hparam_infos) + len( experiment_proto.metric_infos ) handler = download_data.Handler( backend_context.Context(self._mock_tb_context), experiment_proto, session_groups_proto, response_format, [True] * num_columns, ) return handler.run() def test_csv(self): body, mime_type = self._run_handler( EXPERIMENT, SESSION_GROUPS, download_data.OutputFormat.CSV ) self.assertEqual("text/csv", mime_type) self.assertEqual(EXPECTED_CSV, body) def test_latex(self): body, mime_type = self._run_handler( EXPERIMENT, SESSION_GROUPS, download_data.OutputFormat.LATEX ) self.assertEqual("application/x-latex", mime_type) self.assertEqual(EXPECTED_LATEX, body) def test_json(self): body, mime_type = self._run_handler( EXPERIMENT, SESSION_GROUPS, download_data.OutputFormat.JSON ) self.assertEqual("application/json", mime_type) expected_result = { "header": [ "initial_temp", "final_temp", "string_hparam", "bool_hparam", "optional_string_hparam", "current_temp", "delta_temp", "optional_metric", ], "rows": [ [270.0, 150.0, "a string", True, "", 10.0, 15.0, 33.0], [280.0, 100.0, "AAAAA", False, "", 51.0, 44.5, None], [ 300.0, 1.2e-05, "a string_3", True, "BB", 101.0, -15100000.0, None, ], ], } self.assertEqual(expected_result, body) if __name__ == "__main__": tf.test.main()
Java
package com.feiyu.storm.streamingdatacollection.spout; /** * from https://github.com/apache/incubator-storm/blob/master/examples/storm-starter/src/jvm/storm/starter/spout/RandomSentenceSpout.java * modified by feiyu */ import java.util.Map; import java.util.Random; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.base.BaseRichSpout; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Values; import backtype.storm.utils.Utils; @SuppressWarnings("serial") public class ForTestFakeSpout extends BaseRichSpout { private SpoutOutputCollector _collector; private Random _rand; @SuppressWarnings("rawtypes") @Override public void open(Map conf, TopologyContext context, SpoutOutputCollector collector) { _collector = collector; _rand = new Random(); } @Override public void nextTuple() { Utils.sleep(5000); String[] tweets = new String[]{ "I rated X-Men: Days of Future Past 8/10 #IMDb http://www.imdb.com/title/tt1877832", "I rated Game of Thrones 10/10 #IMDb http://www.imdb.com/title/tt0944947", "I rated Snowpiercer 7/10 #IMDb really enjoyed this. Beautifully shot & choreographed. Great performance from Swinton http://www.imdb.com/title/tt1706620", "Back on form. That ending = awesome! - I rated X-Men: Days of Future Past 7/10 #IMDb http://www.imdb.com/title/tt1877832", "A great movie especially for those trying to learn German ~> I rated Run Lola Run 8/10 #IMDb http://www.imdb.com/title/tt0130827", "I rated Breaking Bad 8/10 #IMDb :: I would say 7 but last season made it worth it... Matter of taste @mmelgarejoc http://www.imdb.com/title/tt0903747", "I rated White House Down 7/10 #IMDb bunch of explosions and one liners, fun for all http://www.imdb.com/title/tt2334879" }; String tweet = tweets[_rand.nextInt(tweets.length)]; _collector.emit(new Values(tweet)); } @Override public void declareOutputFields(OutputFieldsDeclarer declarer) { declarer.declare(new Fields("tweet")); } }
Java
/* * Copyright 2021 HM Revenue & Customs * * 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 controllers import controllers.actions.SuccessfulAuthAction import org.scalatestplus.mockito.MockitoSugar import play.api.i18n.Messages import play.api.mvc.BodyParsers import play.api.test.FakeRequest import play.api.test.Helpers._ import utils.AmlsSpec import views.html.{unauthorised, unauthorised_role} class AmlsControllerSpec extends AmlsSpec { trait UnauthenticatedFixture extends MockitoSugar { self => implicit val unauthenticatedRequest = FakeRequest() val request = addToken(unauthenticatedRequest) lazy val view1 = app.injector.instanceOf[unauthorised] lazy val view2 = app.injector.instanceOf[unauthorised_role] val controller = new AmlsController(SuccessfulAuthAction, commonDependencies, mockMcc, messagesApi, mock[BodyParsers.Default], unauthorisedView = view1, unauthorisedRole = view2) } "AmlsController" must { "load the unauthorised page with an unauthenticated request" in new UnauthenticatedFixture { val result = controller.unauthorised(request) status(result) must be(OK) contentAsString(result) must include(Messages("unauthorised.title")) } "load the unauthorised role with an unauthenticated request" in new UnauthenticatedFixture { val result = controller.unauthorised_role(request) status(result) mustBe UNAUTHORIZED contentAsString(result) must include(Messages("unauthorised.title")) } } }
Java
/* * Copyright 2016 Axibase Corporation or its affiliates. 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. * A copy of the License is located at * * https://www.axibase.com/atsd/axibase-apache-2.0.pdf * * or in the "license" file accompanying this file. This file 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.axibase.tsd.model.meta; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.experimental.Accessors; import java.util.Map; @Data /* Use chained setters that return this instead of void */ @Accessors(chain = true) @JsonIgnoreProperties(ignoreUnknown = true) public class EntityAndTags { @JsonProperty("entity") private String entityName; private Long lastInsertTime; @JsonProperty private Map<String, String> tags; }
Java
# paragon.storage.local Use the `paragon.storage.local` API to store, retrieve, and track changes to user data. ## Methods The 'paragon.storage.local' object has the following methods: ### get(keys, callback) Returns an object that has the properties corresponding to the keys referenced from the local storage store. * `keys` Object - String or an array of strings pointing to names in the local storage store. * `callback` function - will be called with `callback(object)`. ### set(value, callback) Adds/Replaces and saves values to the local store. * `value` Object - Value referenced in the store. * `callback` function - will be called with `callback()`. ### remove(keys, callback) Removes the item(s) referenced from the storage. * `keys` Object - Item(s) in the storage. * `callback` function - will be called with `callback()`. ### clear(callback) Deletes local storage file. * `callback` function - will be called with `callback()`.
Java
# Astragalus lesbiacus P.Candargy SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Sedum leblancei Raym.-Hamet SPECIES #### Status ACCEPTED #### According to GRIN Taxonomy for Plants #### Published in Repert. Spec. Nov. egni Veg. 8:311. 1910 #### Original name null ### Remarks null
Java
# Fraxinus fungosa Lodd. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Helichrysum dracaenifolium Humbert SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Stipa durifolia Torres SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Massariella bispora M.A. Curtis SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Massariella bispora M.A. Curtis ### Remarks null
Java
# Briza triloba var. interrupta VARIETY #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Raphanus sativus var. incarnatus Sazonova VARIETY #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Gomphrena decumbens subvar. decumbens SUBVARIETY #### Status ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
Java
<?php /** * This example populates a first party audience segment. To determine which * audience segments exist, run GetAllAudienceSegments.php. * * PHP version 5 * * Copyright 2014, Google Inc. 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 GoogleApiAdsDfp * @subpackage v201611 * @category WebServices * @copyright 2014, Google Inc. All Rights Reserved. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, * Version 2.0 */ error_reporting(E_STRICT | E_ALL); // You can set the include path to src directory or reference // DfpUser.php directly via require_once. // $path = '/path/to/dfp_api_php_lib/src'; $path = dirname(__FILE__) . '/../../../../src'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php'; require_once 'Google/Api/Ads/Dfp/Util/v201611/StatementBuilder.php'; require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php'; // Set the ID of the first party audience segment to populate. $audienceSegmentId = 'INSERT_AUDIENCE_SEGMENT_ID_HERE'; try { // Get DfpUser from credentials in "../auth.ini" // relative to the DfpUser.php file's directory. $user = new DfpUser(); // Log SOAP XML request and response. $user->LogDefaults(); // Get the AudienceSegmentService. $audienceSegmentService = $user->GetService('AudienceSegmentService', 'v201611'); // Create a statement to only select a specified first party audience // segment. $statementBuilder = new StatementBuilder(); $statementBuilder->Where('id = :id and type = :type') ->OrderBy('id ASC') ->Limit(1) ->WithBindVariableValue('id', $audienceSegmentId) ->WithBindVariableValue('type', 'FIRST_PARTY'); // Default for total result set size. $totalResultSetSize = 0; do { // Get audience segments by statement. $page = $audienceSegmentService->getAudienceSegmentsByStatement( $statementBuilder->ToStatement()); // Display results. if (isset($page->results)) { $totalResultSetSize = $page->totalResultSetSize; $i = $page->startIndex; foreach ($page->results as $audienceSegment) { printf("%d) Audience segment with ID %d and name '%s' will be " . "populated.\n", $i++, $audienceSegment->id, $audienceSegment->name); } } $statementBuilder->IncreaseOffsetBy(StatementBuilder::SUGGESTED_PAGE_LIMIT); } while ($statementBuilder->GetOffset() < $totalResultSetSize); printf("Number of audience segments to be populated: %d\n", $totalResultSetSize); if ($totalResultSetSize > 0) { // Remove limit and offset from statement. $statementBuilder->RemoveLimitAndOffset(); // Create action. $action = new PopulateAudienceSegments(); // Perform action. $result = $audienceSegmentService->performAudienceSegmentAction($action, $statementBuilder->ToStatement()); // Display results. if (isset($result) && $result->numChanges > 0) { printf("Number of audience segments populated: %d\n", $result->numChanges); } else { printf("No audience segments were populated.\n"); } } } catch (OAuth2Exception $e) { ExampleUtils::CheckForOAuth2Errors($e); } catch (ValidationException $e) { ExampleUtils::CheckForOAuth2Errors($e); } catch (Exception $e) { printf("%s\n", $e->getMessage()); }
Java
package main import ( "log" "net/http" "github.com/gophergala/melted_brains/http_handler" "golang.org/x/net/websocket" ) func main() { http.HandleFunc("/game/", http_handler.GameHandler) http.Handle("/events/", websocket.Handler(http_handler.EventsHandler)) http.Handle("/waiting/", websocket.Handler(http_handler.EventsHandler)) http.Handle("/", http.FileServer(http.Dir("./static"))) err := http.ListenAndServe(":8000", nil) if err != nil { log.Fatal("ListenAndServe: ", err) } }
Java
import React from 'react'; import renderer from 'react-test-renderer'; import VideoQuestion from './VideoQuestion'; jest.mock('expo', () => ({ Video: 'Video' })); it('renders without crashing', () => { const tree = renderer.create( <VideoQuestion video={require('../../assets/videos/placeholder.mp4')} question="Wer ist eine Ananas?" answers={[ 'Ich bin eine Ananas', 'Du bist eine Ananas', 'Wir sind eine Ananas' ]} /> ); expect(tree).toMatchSnapshot(); });
Java
# Heterodermia erinacea (Ach.) W. A. Weber SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in in Egan, Bryologist 90(2): 163 (1987) #### Original name Lichen erinaceus Ach. ### Remarks null
Java
#!/usr/bin/python # # Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) # # 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. # from exaqute.ExaquteTask import * from pycompss.api.task import task from pycompss.api.api import compss_wait_on from pycompss.api.api import compss_barrier from pycompss.api.api import compss_delete_object from pycompss.api.api import compss_delete_file from pycompss.api.parameter import * from pycompss.api.implement import implement from pycompss.api.constraint import * class ExaquteTask(object): def __init__(self, *args, **kwargs): global scheduler scheduler = "Current scheduler is PyCOMPSs" self.task_instance = task(*args, **kwargs) def __call__(self, f): return self.task_instance.__call__(f) def barrier(): # Wait compss_barrier() def get_value_from_remote(obj): # Gather obj = compss_wait_on(obj) return obj def delete_object(obj): # Release compss_delete_object(obj) def delete_file(file_path): compss_delete_file(file_path) def compute(obj): # Submit task return obj
Java
"use strict"; const apisObject = { "type": "object", "required": false, "patternProperties": { "^[_a-z\/][_a-zA-Z0-9\/:]*$": { //pattern to match an api route "type": "object", "required": true, "properties": { "access": {"type": "boolean", "required": false}, } } } }; const aclRoute = { "type": "array", "required": false, "items": { "type": "object", "required": false, "properties": { "access": {"type": "string", "required": false}, "apis": apisObject } } }; const scope = { "type": "object", "patternProperties": { "^[^\W\.]+$": { "type": "object", "required": false, "patternProperties": { ".+": { "type": "object", "required": false, "properties": { "access": {"type": "boolean", "required": false}, "apisPermission": { "type": "string", "enum": ["restricted"], "required": false }, "get": aclRoute, "post": aclRoute, "put": aclRoute, "delete": aclRoute, "head": aclRoute, "options": aclRoute, "other": aclRoute, "additionalProperties": false }, "additionalProperties": false } }, "additionalProperties": false }, }, "additionalProperties": false }; module.exports = scope;
Java
package br.com.ceducarneiro.analisadorsintatico; public class LexException extends Exception { private char badCh; private int line, column; public LexException(int line, int column, char ch) { badCh = ch; this.line = line; this.column = column; } @Override public String toString() { return String.format("Caractere inesperado: \"%s\" na linha %d coluna %d", badCh != 0 ? badCh : "EOF", line, column); } }
Java
PAUSE
Java
/* * 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. */ /* * This code was generated by https://github.com/googleapis/google-api-java-client-services/ * Modify at your own risk. */ package com.google.api.services.cloudtasks.v2.model; /** * Encapsulates settings provided to GetIamPolicy. * * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Tasks API. For a detailed explanation see: * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> * </p> * * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GetPolicyOptions extends com.google.api.client.json.GenericJson { /** * Optional. The maximum policy version that will be used to format the policy. Valid values are * 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with * any conditional role bindings must specify version 3. Policies with no conditional role * bindings may specify any valid value or leave the field unset. The policy in the response might * use the policy version that you specified, or it might use a lower policy version. For example, * if you specify version 3, but the policy has no conditional role bindings, the response uses * version 1. To learn which resources support conditions in their IAM policies, see the [IAM * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer requestedPolicyVersion; /** * Optional. The maximum policy version that will be used to format the policy. Valid values are * 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with * any conditional role bindings must specify version 3. Policies with no conditional role * bindings may specify any valid value or leave the field unset. The policy in the response might * use the policy version that you specified, or it might use a lower policy version. For example, * if you specify version 3, but the policy has no conditional role bindings, the response uses * version 1. To learn which resources support conditions in their IAM policies, see the [IAM * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * @return value or {@code null} for none */ public java.lang.Integer getRequestedPolicyVersion() { return requestedPolicyVersion; } /** * Optional. The maximum policy version that will be used to format the policy. Valid values are * 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with * any conditional role bindings must specify version 3. Policies with no conditional role * bindings may specify any valid value or leave the field unset. The policy in the response might * use the policy version that you specified, or it might use a lower policy version. For example, * if you specify version 3, but the policy has no conditional role bindings, the response uses * version 1. To learn which resources support conditions in their IAM policies, see the [IAM * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). * @param requestedPolicyVersion requestedPolicyVersion or {@code null} for none */ public GetPolicyOptions setRequestedPolicyVersion(java.lang.Integer requestedPolicyVersion) { this.requestedPolicyVersion = requestedPolicyVersion; return this; } @Override public GetPolicyOptions set(String fieldName, Object value) { return (GetPolicyOptions) super.set(fieldName, value); } @Override public GetPolicyOptions clone() { return (GetPolicyOptions) super.clone(); } }
Java
/* * Copyright (c) 2008-2020, Hazelcast, Inc. 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.hazelcast.client.impl.spi.impl.discovery; import com.hazelcast.client.HazelcastClient; import com.hazelcast.client.config.ClientConfig; import com.hazelcast.config.Config; import com.hazelcast.core.Hazelcast; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.test.HazelcastSerialClassRunner; import com.hazelcast.test.HazelcastTestSupport; import com.hazelcast.test.annotation.QuickTest; import org.junit.After; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; @RunWith(HazelcastSerialClassRunner.class) @Category(QuickTest.class) public class ClientAutoDetectionDiscoveryTest extends HazelcastTestSupport { @After public void tearDown() { Hazelcast.shutdownAll(); } @Test public void defaultDiscovery() { Hazelcast.newHazelcastInstance(); Hazelcast.newHazelcastInstance(); HazelcastInstance client = HazelcastClient.newHazelcastClient(); assertClusterSizeEventually(2, client); } @Test public void autoDetectionDisabled() { Config config = new Config(); config.getNetworkConfig().getJoin().getAutoDetectionConfig().setEnabled(false); Hazelcast.newHazelcastInstance(config); Hazelcast.newHazelcastInstance(config); ClientConfig clientConfig = new ClientConfig(); clientConfig.getNetworkConfig().getAutoDetectionConfig().setEnabled(false); HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig); // uses 127.0.0.1 and finds only one standalone member assertClusterSizeEventually(1, client); } @Test public void autoDetectionNotUsedWhenOtherDiscoveryEnabled() { Config config = new Config(); config.getNetworkConfig().setPort(5710); config.getNetworkConfig().getJoin().getAutoDetectionConfig().setEnabled(false); Hazelcast.newHazelcastInstance(config); ClientConfig clientConfig = new ClientConfig(); clientConfig.getNetworkConfig().addAddress("127.0.0.1:5710"); HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig); assertClusterSizeEventually(1, client); } }
Java
package me.banxi.androiddemo; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class MainActivity extends Activity{ public void onCreate(Bundle bundle){ super.onCreate(bundle); TextView textView = new TextView(this); textView.setText("Hello,World"); setContentView(textView); } }
Java
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ #import <Foundation/Foundation.h> #import "Bridge.h" #import "TiToJS.h" #import "TiEvaluator.h" #import "TiProxy.h" #import "KrollContext.h" #import "KrollObject.h" #import "TiModule.h" #include <libkern/OSAtomic.h> #ifdef KROLL_COVERAGE # import "KrollCoverage.h" @interface TiTodoSampleObject : KrollCoverageObject { #else @interface TiTodoSampleObject : KrollObject { #endif @private NSMutableDictionary *modules; TiHost *host; id<TiEvaluator> pageContext; NSMutableDictionary *dynprops; } -(id)initWithContext:(KrollContext*)context_ host:(TiHost*)host_ context:(id<TiEvaluator>)context baseURL:(NSURL*)baseURL_; -(id)addModule:(NSString*)name module:(TiModule*)module; -(TiModule*)moduleNamed:(NSString*)name context:(id<TiEvaluator>)context; @end extern NSString * TiTodoSample$ModuleRequireFormat; @interface KrollBridge : Bridge<TiEvaluator,KrollDelegate> { @private NSURL * currentURL; KrollContext *context; NSDictionary *preload; NSMutableDictionary *modules; TiTodoSampleObject *_titodosample; KrollObject* console; BOOL shutdown; BOOL evaluationError; //NOTE: Do NOT treat registeredProxies like a mutableDictionary; mutable dictionaries copy keys, //CFMutableDictionaryRefs only retain keys, which lets them work with proxies properly. CFMutableDictionaryRef registeredProxies; NSCondition *shutdownCondition; OSSpinLock proxyLock; } - (void)boot:(id)callback url:(NSURL*)url_ preload:(NSDictionary*)preload_; - (void)evalJSWithoutResult:(NSString*)code; - (id)evalJSAndWait:(NSString*)code; - (BOOL)evaluationError; - (void)fireEvent:(id)listener withObject:(id)obj remove:(BOOL)yn thisObject:(TiProxy*)thisObject; - (id)preloadForKey:(id)key name:(id)name; - (KrollContext*)krollContext; + (NSArray *)krollBridgesUsingProxy:(id)proxy; + (BOOL)krollBridgeExists:(KrollBridge *)bridge; + (KrollBridge *)krollBridgeForThreadName:(NSString *)threadName; + (NSArray *)krollContexts; -(void)enqueueEvent:(NSString*)type forProxy:(TiProxy *)proxy withObject:(id)obj; -(void)registerProxy:(id)proxy krollObject:(KrollObject *)ourKrollObject; -(int)forceGarbageCollectNow; @end
Java
from rest_framework import generics, permissions, views, response,status from .models import Account from .serializers import AccountCreateSerializer, AccountSerializer, AuthenticateSerializer, \ UpdateAccountSerializer, AccountRetrieveSerializer # Create your views here. class AccountCreateView(generics.CreateAPIView): queryset = Account.objects.all() serializer_class = AccountCreateSerializer permission_classes = [permissions.AllowAny] class AccountListView(generics.ListAPIView): queryset = Account.objects.all() serializer_class = AccountSerializer permission_classes = [permissions.IsAuthenticated] class AccountRetrieveView(generics.RetrieveAPIView): queryset = Account.objects.all() serializer_class = AccountRetrieveSerializer class UpdateAccountView(generics.UpdateAPIView): queryset = Account.objects.all() serializer_class = UpdateAccountSerializer # permission_classes = [permissions.IsAuthenticated] class AccountAuthenticationView(views.APIView): queryset = Account.objects.all() serializer_class = AuthenticateSerializer def post(self, request): data = request.data serializer = AuthenticateSerializer(data=data) if serializer.is_valid(raise_exception=True): new_date = serializer.data return response.Response(new_date,status=status.HTTP_200_OK) return response.Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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 org.apache.activemq.artemis.tests.integration.server; import org.apache.activemq.artemis.api.core.SimpleString; import org.apache.activemq.artemis.api.core.client.ClientConsumer; import org.apache.activemq.artemis.api.core.client.ClientMessage; import org.apache.activemq.artemis.api.core.client.ClientProducer; import org.apache.activemq.artemis.api.core.client.ClientSession; import org.apache.activemq.artemis.api.core.client.ClientSessionFactory; import org.apache.activemq.artemis.api.core.client.ServerLocator; import org.apache.activemq.artemis.core.config.impl.ConfigurationImpl; import org.apache.activemq.artemis.core.server.ActiveMQServer; import org.apache.activemq.artemis.core.server.ActiveMQServers; import org.apache.activemq.artemis.core.server.Queue; import org.apache.activemq.artemis.core.settings.impl.AddressSettings; import org.apache.activemq.artemis.tests.util.ActiveMQTestBase; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; public class ExpiryRunnerTest extends ActiveMQTestBase { private ActiveMQServer server; private ClientSession clientSession; private final SimpleString qName = new SimpleString("ExpiryRunnerTestQ"); private final SimpleString qName2 = new SimpleString("ExpiryRunnerTestQ2"); private SimpleString expiryQueue; private SimpleString expiryAddress; private ServerLocator locator; @Test public void testBasicExpire() throws Exception { ClientProducer producer = clientSession.createProducer(qName); int numMessages = 100; long expiration = System.currentTimeMillis(); for (int i = 0; i < numMessages; i++) { ClientMessage m = createTextMessage(clientSession, "m" + i); m.setExpiration(expiration); producer.send(m); } Thread.sleep(1600); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount()); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount()); } @Test public void testExpireFromMultipleQueues() throws Exception { ClientProducer producer = clientSession.createProducer(qName); clientSession.createQueue(qName2, qName2, null, false); AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress); server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings); ClientProducer producer2 = clientSession.createProducer(qName2); int numMessages = 100; long expiration = System.currentTimeMillis(); for (int i = 0; i < numMessages; i++) { ClientMessage m = createTextMessage(clientSession, "m" + i); m.setExpiration(expiration); producer.send(m); m = createTextMessage(clientSession, "m" + i); m.setExpiration(expiration); producer2.send(m); } Thread.sleep(1600); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount()); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount()); } @Test public void testExpireHalf() throws Exception { ClientProducer producer = clientSession.createProducer(qName); int numMessages = 100; long expiration = System.currentTimeMillis(); for (int i = 0; i < numMessages; i++) { ClientMessage m = createTextMessage(clientSession, "m" + i); if (i % 2 == 0) { m.setExpiration(expiration); } producer.send(m); } Thread.sleep(1600); Assert.assertEquals(numMessages / 2, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount()); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount()); } @Test public void testExpireConsumeHalf() throws Exception { ClientProducer producer = clientSession.createProducer(qName); int numMessages = 100; long expiration = System.currentTimeMillis() + 1000; for (int i = 0; i < numMessages; i++) { ClientMessage m = createTextMessage(clientSession, "m" + i); m.setExpiration(expiration); producer.send(m); } ClientConsumer consumer = clientSession.createConsumer(qName); clientSession.start(); for (int i = 0; i < numMessages / 2; i++) { ClientMessage cm = consumer.receive(500); Assert.assertNotNull("message not received " + i, cm); cm.acknowledge(); Assert.assertEquals("m" + i, cm.getBodyBuffer().readString()); } consumer.close(); Thread.sleep(2100); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount()); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount()); } @Test public void testExpireToExpiryQueue() throws Exception { AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress); server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings); clientSession.deleteQueue(qName); clientSession.createQueue(qName, qName, null, false); clientSession.createQueue(qName, qName2, null, false); ClientProducer producer = clientSession.createProducer(qName); int numMessages = 100; long expiration = System.currentTimeMillis(); for (int i = 0; i < numMessages; i++) { ClientMessage m = createTextMessage(clientSession, "m" + i); m.setExpiration(expiration); producer.send(m); } Thread.sleep(1600); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getMessageCount()); Assert.assertEquals(0, ((Queue) server.getPostOffice().getBinding(qName).getBindable()).getDeliveringCount()); ClientConsumer consumer = clientSession.createConsumer(expiryQueue); clientSession.start(); for (int i = 0; i < numMessages; i++) { ClientMessage cm = consumer.receive(500); Assert.assertNotNull(cm); // assertEquals("m" + i, cm.getBody().getString()); } for (int i = 0; i < numMessages; i++) { ClientMessage cm = consumer.receive(500); Assert.assertNotNull(cm); // assertEquals("m" + i, cm.getBody().getString()); } consumer.close(); } @Test public void testExpireWhilstConsumingMessagesStillInOrder() throws Exception { ClientProducer producer = clientSession.createProducer(qName); ClientConsumer consumer = clientSession.createConsumer(qName); CountDownLatch latch = new CountDownLatch(1); DummyMessageHandler dummyMessageHandler = new DummyMessageHandler(consumer, latch); clientSession.start(); Thread thr = new Thread(dummyMessageHandler); thr.start(); long expiration = System.currentTimeMillis() + 1000; int numMessages = 0; long sendMessagesUntil = System.currentTimeMillis() + 2000; do { ClientMessage m = createTextMessage(clientSession, "m" + numMessages++); m.setExpiration(expiration); producer.send(m); Thread.sleep(100); } while (System.currentTimeMillis() < sendMessagesUntil); Assert.assertTrue(latch.await(10000, TimeUnit.MILLISECONDS)); consumer.close(); consumer = clientSession.createConsumer(expiryQueue); do { ClientMessage cm = consumer.receive(2000); if (cm == null) { break; } String text = cm.getBodyBuffer().readString(); cm.acknowledge(); Assert.assertFalse(dummyMessageHandler.payloads.contains(text)); dummyMessageHandler.payloads.add(text); } while (true); for (int i = 0; i < numMessages; i++) { if (dummyMessageHandler.payloads.isEmpty()) { break; } Assert.assertTrue("m" + i, dummyMessageHandler.payloads.remove("m" + i)); } consumer.close(); thr.join(); } // // public static void main(final String[] args) throws Exception // { // for (int i = 0; i < 1000; i++) // { // TestSuite suite = new TestSuite(); // ExpiryRunnerTest expiryRunnerTest = new ExpiryRunnerTest(); // expiryRunnerTest.setName("testExpireWhilstConsuming"); // suite.addTest(expiryRunnerTest); // // TestResult result = TestRunner.run(suite); // if (result.errorCount() > 0 || result.failureCount() > 0) // { // System.exit(1); // } // } // } @Override @Before public void setUp() throws Exception { super.setUp(); ConfigurationImpl configuration = (ConfigurationImpl) createDefaultInVMConfig().setMessageExpiryScanPeriod(1000); server = addServer(ActiveMQServers.newActiveMQServer(configuration, false)); // start the server server.start(); // then we create a client as normal locator = createInVMNonHALocator().setBlockOnAcknowledge(true); ClientSessionFactory sessionFactory = createSessionFactory(locator); clientSession = sessionFactory.createSession(false, true, true); clientSession.createQueue(qName, qName, null, false); expiryAddress = new SimpleString("EA"); expiryQueue = new SimpleString("expiryQ"); AddressSettings addressSettings = new AddressSettings().setExpiryAddress(expiryAddress); server.getAddressSettingsRepository().addMatch(qName.toString(), addressSettings); server.getAddressSettingsRepository().addMatch(qName2.toString(), addressSettings); clientSession.createQueue(expiryAddress, expiryQueue, null, false); } private static class DummyMessageHandler implements Runnable { List<String> payloads = new ArrayList<>(); private final ClientConsumer consumer; private final CountDownLatch latch; private DummyMessageHandler(final ClientConsumer consumer, final CountDownLatch latch) { this.consumer = consumer; this.latch = latch; } @Override public void run() { while (true) { try { ClientMessage message = consumer.receive(5000); if (message == null) { break; } message.acknowledge(); payloads.add(message.getBodyBuffer().readString()); Thread.sleep(110); } catch (Exception e) { e.printStackTrace(); } } latch.countDown(); } } }
Java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Management.Resources.Models; namespace Azure.Management.Resources { /// <summary> The Deployment service client. </summary> public partial class DeploymentOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; internal DeploymentRestOperations RestClient { get; } /// <summary> Initializes a new instance of DeploymentOperations for mocking. </summary> protected DeploymentOperations() { } /// <summary> Initializes a new instance of DeploymentOperations. </summary> /// <param name="clientDiagnostics"> The handler for diagnostic messaging in the client. </param> /// <param name="pipeline"> The HTTP pipeline for sending and receiving REST requests and responses. </param> /// <param name="subscriptionId"> The ID of the target subscription. </param> /// <param name="endpoint"> server parameter. </param> /// <param name="apiVersion"> Api Version. </param> internal DeploymentOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { RestClient = new DeploymentRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } /// <summary> Gets a deployments operation. </summary> /// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param> /// <param name="deploymentName"> The name of the deployment. </param> /// <param name="operationId"> The ID of the operation to get. </param> /// <param name="cancellationToken"> The cancellation token to use. </param> public virtual async Task<Response<DeploymentOperation>> GetAsync(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope.Start(); try { return await RestClient.GetAsync(resourceGroupName, deploymentName, operationId, cancellationToken).ConfigureAwait(false); } catch (Exception e) { scope.Failed(e); throw; } } /// <summary> Gets a deployments operation. </summary> /// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param> /// <param name="deploymentName"> The name of the deployment. </param> /// <param name="operationId"> The ID of the operation to get. </param> /// <param name="cancellationToken"> The cancellation token to use. </param> public virtual Response<DeploymentOperation> Get(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope.Start(); try { return RestClient.Get(resourceGroupName, deploymentName, operationId, cancellationToken); } catch (Exception e) { scope.Failed(e); throw; } } /// <summary> Gets all deployments operations for a deployment. </summary> /// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param> /// <param name="deploymentName"> The name of the deployment with the operation to get. </param> /// <param name="top"> The number of results to return. </param> /// <param name="cancellationToken"> The cancellation token to use. </param> public virtual AsyncPageable<DeploymentOperation> ListAsync(string resourceGroupName, string deploymentName, int? top = null, CancellationToken cancellationToken = default) { if (resourceGroupName == null) { throw new ArgumentNullException(nameof(resourceGroupName)); } if (deploymentName == null) { throw new ArgumentNullException(nameof(deploymentName)); } async Task<Page<DeploymentOperation>> FirstPageFunc(int? pageSizeHint) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { var response = await RestClient.ListAsync(resourceGroupName, deploymentName, top, cancellationToken).ConfigureAwait(false); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { scope.Failed(e); throw; } } async Task<Page<DeploymentOperation>> NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { var response = await RestClient.ListNextPageAsync(nextLink, resourceGroupName, deploymentName, top, cancellationToken).ConfigureAwait(false); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { scope.Failed(e); throw; } } return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); } /// <summary> Gets all deployments operations for a deployment. </summary> /// <param name="resourceGroupName"> The name of the resource group. The name is case insensitive. </param> /// <param name="deploymentName"> The name of the deployment with the operation to get. </param> /// <param name="top"> The number of results to return. </param> /// <param name="cancellationToken"> The cancellation token to use. </param> public virtual Pageable<DeploymentOperation> List(string resourceGroupName, string deploymentName, int? top = null, CancellationToken cancellationToken = default) { if (resourceGroupName == null) { throw new ArgumentNullException(nameof(resourceGroupName)); } if (deploymentName == null) { throw new ArgumentNullException(nameof(deploymentName)); } Page<DeploymentOperation> FirstPageFunc(int? pageSizeHint) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { var response = RestClient.List(resourceGroupName, deploymentName, top, cancellationToken); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { scope.Failed(e); throw; } } Page<DeploymentOperation> NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { var response = RestClient.ListNextPage(nextLink, resourceGroupName, deploymentName, top, cancellationToken); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { scope.Failed(e); throw; } } return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); } } }
Java
# Erica jumellei (H.Perrier) Dorr & E.G.H.Oliv. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Philippia jumellei H.Perrier ### Remarks null
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_121) on Tue Jun 27 14:37:00 PDT 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Index (Keywhiz Model 0.8.0 API)</title> <meta name="date" content="2017-06-27"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Index (Keywhiz Model 0.8.0 API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="overview-summary.html">Overview</a></li> <li>Package</li> <li>Class</li> <li>Use</li> <li><a href="overview-tree.html">Tree</a></li> <li><a href="deprecated-list.html">Deprecated</a></li> <li class="navBarCell1Rev">Index</li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="index.html?index-all.html" target="_top">Frames</a></li> <li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="contentContainer"><a href="#I:A">A</a>&nbsp;<a href="#I:C">C</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:F">F</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:I">I</a>&nbsp;<a href="#I:K">K</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:M">M</a>&nbsp;<a href="#I:N">N</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:R">R</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;<a href="#I:U">U</a>&nbsp;<a href="#I:V">V</a>&nbsp;<a name="I:A"> <!-- --> </a> <h2 class="title">A</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.accessgrants</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Accessgrants</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.accessgrants</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#Accessgrants--">Accessgrants()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.accessgrants</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#Accessgrants-java.lang.String-">Accessgrants(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.accessgrants</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#ACCESSGRANTS">ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.accessgrants</code></div> </dd> <dt><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">AccessgrantsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#AccessgrantsRecord--">AccessgrantsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Create a detached AccessgrantsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#AccessgrantsRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">AccessgrantsRecord(Long, Long, Long, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Create a detached, initialised AccessgrantsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#as-java.lang.String-">as(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#AUTOMATIONALLOWED">AUTOMATIONALLOWED</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.automationallowed</code>.</div> </dd> </dl> <a name="I:C"> <!-- --> </a> <h2 class="title">C</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#CHECKSUM">CHECKSUM</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.checksum</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#CLIENTID">CLIENTID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.memberships.clientid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#CLIENTS">CLIENTS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.clients</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Clients</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#CLIENTS">CLIENTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.clients</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#Clients--">Clients()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.clients</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#Clients-java.lang.String-">Clients(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.clients</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CLIENTS">CLIENTS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.clients</code></div> </dd> <dt><a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">ClientsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#ClientsRecord--">ClientsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Create a detached ClientsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#ClientsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.Boolean-java.lang.Boolean-java.lang.Long-">ClientsRecord(Long, String, Long, Long, String, String, String, Boolean, Boolean, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Create a detached, initialised ClientsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CONTENT_HMAC">CONTENT_HMAC</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.content_hmac</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#CREATED_AT">CREATED_AT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.users.created_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.accessgrants.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.memberships.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CREATEDAT">CREATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#CREATEDBY">CREATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#CURRENT">CURRENT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.current</code>.</div> </dd> </dl> <a name="I:D"> <!-- --> </a> <h2 class="title">D</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#DEFAULT_CATALOG">DEFAULT_CATALOG</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt> <dd> <div class="block">The reference instance of <code></code></div> </dd> <dt><a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq"><span class="typeNameLink">DefaultCatalog</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#DESCRIPTION">DESCRIPTION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.description</code>.</div> </dd> </dl> <a name="I:E"> <!-- --> </a> <h2 class="title">E</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#ENABLED">ENABLED</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.enabled</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#ENCRYPTED_CONTENT">ENCRYPTED_CONTENT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#EXECUTION_TIME">EXECUTION_TIME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.execution_time</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#EXPIRY">EXPIRY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.expiry</code>.</div> </dd> </dl> <a name="I:F"> <!-- --> </a> <h2 class="title">F</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field1--">field1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field10--">field10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field11--">field11()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field2--">field2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field3--">field3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#field4--">field4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field5--">field5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field6--">field6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field7--">field7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field8--">field8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#field9--">field9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#fieldsRow--">fieldsRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#from-java.lang.Integer-">from(Integer)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#from-java.sql.Timestamp-">from(Timestamp)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#from-java.lang.Byte-">from(Byte)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#fromType--">fromType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt> <dd>&nbsp;</dd> </dl> <a name="I:G"> <!-- --> </a> <h2 class="title">G</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getAutomationallowed--">getAutomationallowed()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.automationallowed</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#getCatalog--">getCatalog()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getChecksum--">getChecksum()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.checksum</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getClientid--">getClientid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.memberships.clientid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getContentHmac--">getContentHmac()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.content_hmac</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.accessgrants.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.memberships.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCreatedat--">getCreatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getCreatedAt--">getCreatedAt()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.users.created_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCreatedby--">getCreatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getCurrent--">getCurrent()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.current</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getDescription--">getDescription()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getEnabled--">getEnabled()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.enabled</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getEncryptedContent--">getEncryptedContent()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getExecutionTime--">getExecutionTime()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.execution_time</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getExpiry--">getExpiry()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.expiry</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getGroupid--">getGroupid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.accessgrants.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getGroupid--">getGroupid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.memberships.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.accessgrants.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.memberships.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getId--">getId()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getIdentity--">getIdentity()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledBy--">getInstalledBy()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.installed_by</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledOn--">getInstalledOn()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.installed_on</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getInstalledRank--">getInstalledRank()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.installed_rank</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getKeys--">getKeys()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getLastseen--">getLastseen()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.lastseen</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getMetadata--">getMetadata()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.metadata</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getMetadata--">getMetadata()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.metadata</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getName--">getName()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getOptions--">getOptions()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.options</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getPasswordHash--">getPasswordHash()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.users.password_hash</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getPrimaryKey--">getPrimaryKey()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getRecordType--">getRecordType()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The class holding records for this type</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#getSchema--">getSchema()</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#getSchemas--">getSchemas()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getScript--">getScript()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.script</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getSecretid--">getSecretid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.accessgrants.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getSecretid--">getSecretid()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getSuccess--">getSuccess()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.success</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#getTables--">getTables()</a></span> - Method in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getType--">getType()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.type</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getType--">getType()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.type</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.accessgrants.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.memberships.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getUpdatedat--">getUpdatedat()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getUpdatedAt--">getUpdatedAt()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.users.updated_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.clients.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.groups.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets_content.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#getUpdatedby--">getUpdatedby()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.secrets.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#getUsername--">getUsername()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.users.username</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getVersion--">getVersion()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.version</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#getVersionRank--">getVersionRank()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Getter for <code>keywhizdb_test.schema_version.version_rank</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#GROUPID">GROUPID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.accessgrants.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#GROUPID">GROUPID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.memberships.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#GROUPS">GROUPS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.groups</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Groups</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#GROUPS">GROUPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.groups</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#Groups--">Groups()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.groups</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#Groups-java.lang.String-">Groups(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.groups</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#GROUPS">GROUPS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.groups</code></div> </dd> <dt><a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">GroupsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#GroupsRecord--">GroupsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Create a detached GroupsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#GroupsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">GroupsRecord(Long, String, Long, Long, String, String, String, String)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Create a detached, initialised GroupsRecord</div> </dd> </dl> <a name="I:I"> <!-- --> </a> <h2 class="title">I</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.accessgrants.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.memberships.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#ID">ID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_ACCESSGRANTS">IDENTITY_ACCESSGRANTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_CLIENTS">IDENTITY_CLIENTS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_GROUPS">IDENTITY_GROUPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_MEMBERSHIPS">IDENTITY_MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_SECRETS">IDENTITY_SECRETS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#IDENTITY_SECRETS_CONTENT">IDENTITY_SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_BY">INSTALLED_BY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.installed_by</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_ON">INSTALLED_ON</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.installed_on</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#INSTALLED_RANK">INSTALLED_RANK</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.installed_rank</code>.</div> </dd> </dl> <a name="I:K"> <!-- --> </a> <h2 class="title">K</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#key--">key()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX">KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_ACCESSGRANTS_PRIMARY">KEY_ACCESSGRANTS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_CLIENTS_NAME">KEY_CLIENTS_NAME</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_CLIENTS_PRIMARY">KEY_CLIENTS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_GROUPS_NAME">KEY_GROUPS_NAME</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_GROUPS_PRIMARY">KEY_GROUPS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX">KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_MEMBERSHIPS_PRIMARY">KEY_MEMBERSHIPS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SCHEMA_VERSION_PRIMARY">KEY_SCHEMA_VERSION_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_CONTENT_PRIMARY">KEY_SECRETS_CONTENT_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_NAME_ID_IDX">KEY_SECRETS_NAME_ID_IDX</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_SECRETS_PRIMARY">KEY_SECRETS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#KEY_USERS_PRIMARY">KEY_USERS_PRIMARY</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq"><span class="typeNameLink">Keys</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt> <dd> <div class="block">A class modelling foreign key relationships between tables of the <code>keywhizdb_test</code> schema</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Keys.html#Keys--">Keys()</a></span> - Constructor for class keywhiz.jooq.<a href="keywhiz/jooq/Keys.html" title="class in keywhiz.jooq">Keys</a></dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a> - package keywhiz.jooq</dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a> - package keywhiz.jooq.tables</dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a> - package keywhiz.jooq.tables.records</dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/model/package-summary.html">keywhiz.model</a> - package keywhiz.model</dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/DefaultCatalog.html#KEYWHIZDB_TEST">KEYWHIZDB_TEST</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/DefaultCatalog.html" title="class in keywhiz.jooq">DefaultCatalog</a></dt> <dd> <div class="block">The schema <code>keywhizdb_test</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#KEYWHIZDB_TEST">KEYWHIZDB_TEST</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test</code></div> </dd> <dt><a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq"><span class="typeNameLink">KeywhizdbTest</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> </dl> <a name="I:L"> <!-- --> </a> <h2 class="title">L</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#LASTSEEN">LASTSEEN</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.lastseen</code>.</div> </dd> <dt><a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model"><span class="typeNameLink">LongConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#LongConverter--">LongConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt> <dd>&nbsp;</dd> </dl> <a name="I:M"> <!-- --> </a> <h2 class="title">M</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.memberships</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Memberships</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.memberships</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#Memberships--">Memberships()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.memberships</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#Memberships-java.lang.String-">Memberships(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.memberships</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#MEMBERSHIPS">MEMBERSHIPS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.memberships</code></div> </dd> <dt><a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">MembershipsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#MembershipsRecord--">MembershipsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Create a detached MembershipsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#MembershipsRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">MembershipsRecord(Long, Long, Long, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Create a detached, initialised MembershipsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#METADATA">METADATA</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.metadata</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#METADATA">METADATA</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.metadata</code>.</div> </dd> </dl> <a name="I:N"> <!-- --> </a> <h2 class="title">N</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#NAME">NAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.name</code>.</div> </dd> </dl> <a name="I:O"> <!-- --> </a> <h2 class="title">O</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#OPTIONS">OPTIONS</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.options</code>.</div> </dd> </dl> <a name="I:P"> <!-- --> </a> <h2 class="title">P</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#PASSWORD_HASH">PASSWORD_HASH</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.users.password_hash</code>.</div> </dd> </dl> <a name="I:R"> <!-- --> </a> <h2 class="title">R</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">Rename this table</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#rename-java.lang.String-">rename(String)</a></span> - Method in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">Rename this table</div> </dd> </dl> <a name="I:S"> <!-- --> </a> <h2 class="title">S</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.schema_version</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.schema_version</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SCHEMA_VERSION">SCHEMA_VERSION</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.schema_version</code></div> </dd> <dt><a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">SchemaVersion</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SchemaVersion--">SchemaVersion()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.schema_version</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SchemaVersion-java.lang.String-">SchemaVersion(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.schema_version</code> table reference</div> </dd> <dt><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SchemaVersionRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#SchemaVersionRecord--">SchemaVersionRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Create a detached SchemaVersionRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#SchemaVersionRecord-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.Boolean-">SchemaVersionRecord(Long, Long, String, String, String, String, Long, String, Long, Long, Boolean)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Create a detached, initialised SchemaVersionRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SCRIPT">SCRIPT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.script</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#SECRETID">SECRETID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.accessgrants.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SECRETID">SECRETID</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SECRETS">SECRETS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.secrets</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Secrets</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SECRETS">SECRETS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.secrets</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#Secrets--">Secrets()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.secrets</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#Secrets-java.lang.String-">Secrets(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.secrets</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#SECRETS">SECRETS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.secrets</code></div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.secrets_content</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.secrets_content</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SECRETS_CONTENT">SECRETS_CONTENT</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.secrets_content</code></div> </dd> <dt><a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">SecretsContent</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SecretsContent--">SecretsContent()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.secrets_content</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#SecretsContent-java.lang.String-">SecretsContent(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.secrets_content</code> table reference</div> </dd> <dt><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SecretsContentRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#SecretsContentRecord--">SecretsContentRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Create a detached SecretsContentRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#SecretsContentRecord-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-">SecretsContentRecord(Long, Long, Long, Long, String, String, String, String, Long, String)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Create a detached, initialised SecretsContentRecord</div> </dd> <dt><a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">SecretsRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#SecretsRecord--">SecretsRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Create a detached SecretsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#SecretsRecord-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-">SecretsRecord(Long, String, Long, Long, String, String, String, String, String, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Create a detached, initialised SecretsRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setAutomationallowed-java.lang.Boolean-">setAutomationallowed(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.automationallowed</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setChecksum-java.lang.Long-">setChecksum(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.checksum</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setClientid-java.lang.Long-">setClientid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.memberships.clientid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setContentHmac-java.lang.String-">setContentHmac(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.content_hmac</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.accessgrants.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.memberships.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCreatedat-java.lang.Long-">setCreatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.createdat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setCreatedAt-java.lang.Long-">setCreatedAt(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.users.created_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCreatedby-java.lang.String-">setCreatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.createdby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setCurrent-java.lang.Long-">setCurrent(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.current</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setDescription-java.lang.String-">setDescription(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.description</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setEnabled-java.lang.Boolean-">setEnabled(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.enabled</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setEncryptedContent-java.lang.String-">setEncryptedContent(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.encrypted_content</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setExecutionTime-java.lang.Long-">setExecutionTime(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.execution_time</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setExpiry-java.lang.Long-">setExpiry(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.expiry</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setGroupid-java.lang.Long-">setGroupid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.accessgrants.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setGroupid-java.lang.Long-">setGroupid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.memberships.groupid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.accessgrants.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.memberships.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setId-java.lang.Long-">setId(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.id</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledBy-java.lang.String-">setInstalledBy(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.installed_by</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledOn-java.lang.Long-">setInstalledOn(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.installed_on</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setInstalledRank-java.lang.Long-">setInstalledRank(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.installed_rank</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setLastseen-java.lang.Long-">setLastseen(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.lastseen</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setMetadata-java.lang.String-">setMetadata(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.metadata</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setMetadata-java.lang.String-">setMetadata(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.metadata</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setName-java.lang.String-">setName(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.name</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setOptions-java.lang.String-">setOptions(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.options</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setPasswordHash-java.lang.String-">setPasswordHash(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.users.password_hash</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setScript-java.lang.String-">setScript(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.script</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setSecretid-java.lang.Long-">setSecretid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.accessgrants.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setSecretid-java.lang.Long-">setSecretid(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.secretid</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setSuccess-java.lang.Boolean-">setSuccess(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.success</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setType-java.lang.String-">setType(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.type</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setType-java.lang.String-">setType(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.type</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.accessgrants.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.memberships.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setUpdatedat-java.lang.Long-">setUpdatedat(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setUpdatedAt-java.lang.Long-">setUpdatedAt(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.users.updated_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.clients.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.groups.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets_content.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#setUpdatedby-java.lang.String-">setUpdatedby(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.secrets.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#setUsername-java.lang.String-">setUsername(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.users.username</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setVersion-java.lang.String-">setVersion(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.version</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#setVersionRank-java.lang.Long-">setVersionRank(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dd> <div class="block">Setter for <code>keywhizdb_test.schema_version.version_rank</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#SUCCESS">SUCCESS</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.success</code>.</div> </dd> </dl> <a name="I:T"> <!-- --> </a> <h2 class="title">T</h2> <dl> <dt><a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq"><span class="typeNameLink">Tables</span></a> - Class in <a href="keywhiz/jooq/package-summary.html">keywhiz.jooq</a></dt> <dd> <div class="block">Convenience access to all tables in keywhizdb_test</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#Tables--">Tables()</a></span> - Constructor for class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model"><span class="typeNameLink">TimestampConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt> <dd> <div class="block">Converts SQL timestamps to long</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#TimestampConverter--">TimestampConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt> <dd>&nbsp;</dd> <dt><a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model"><span class="typeNameLink">TinyIntConverter</span></a> - Class in <a href="keywhiz/model/package-summary.html">keywhiz.model</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#TinyIntConverter--">TinyIntConverter()</a></span> - Constructor for class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#to-java.lang.Long-">to(Long)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#to-java.lang.Long-">to(Long)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#to-java.lang.Boolean-">to(Boolean)</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/LongConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/LongConverter.html" title="class in keywhiz.model">LongConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TimestampConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TimestampConverter.html" title="class in keywhiz.model">TimestampConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/model/TinyIntConverter.html#toType--">toType()</a></span> - Method in class keywhiz.model.<a href="keywhiz/model/TinyIntConverter.html" title="class in keywhiz.model">TinyIntConverter</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#TYPE">TYPE</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.type</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#TYPE">TYPE</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.type</code>.</div> </dd> </dl> <a name="I:U"> <!-- --> </a> <h2 class="title">U</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#UPDATED_AT">UPDATED_AT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.users.updated_at</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Accessgrants.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Accessgrants.html" title="class in keywhiz.jooq.tables">Accessgrants</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.accessgrants.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Memberships.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Memberships.html" title="class in keywhiz.jooq.tables">Memberships</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.memberships.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#UPDATEDAT">UPDATEDAT</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.updatedat</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Clients.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Clients.html" title="class in keywhiz.jooq.tables">Clients</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.clients.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Groups.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Groups.html" title="class in keywhiz.jooq.tables">Groups</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.groups.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Secrets.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Secrets.html" title="class in keywhiz.jooq.tables">Secrets</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SecretsContent.html#UPDATEDBY">UPDATEDBY</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SecretsContent.html" title="class in keywhiz.jooq.tables">SecretsContent</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.secrets_content.updatedby</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#USERNAME">USERNAME</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.users.username</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/KeywhizdbTest.html#USERS">USERS</a></span> - Variable in class keywhiz.jooq.<a href="keywhiz/jooq/KeywhizdbTest.html" title="class in keywhiz.jooq">KeywhizdbTest</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.users</code>.</div> </dd> <dt><a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables"><span class="typeNameLink">Users</span></a> - Class in <a href="keywhiz/jooq/tables/package-summary.html">keywhiz.jooq.tables</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/Tables.html#USERS">USERS</a></span> - Static variable in class keywhiz.jooq.<a href="keywhiz/jooq/Tables.html" title="class in keywhiz.jooq">Tables</a></dt> <dd> <div class="block">The table <code>keywhizdb_test.users</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#Users--">Users()</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">Create a <code>keywhizdb_test.users</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#Users-java.lang.String-">Users(String)</a></span> - Constructor for class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">Create an aliased <code>keywhizdb_test.users</code> table reference</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/Users.html#USERS">USERS</a></span> - Static variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/Users.html" title="class in keywhiz.jooq.tables">Users</a></dt> <dd> <div class="block">The reference instance of <code>keywhizdb_test.users</code></div> </dd> <dt><a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records"><span class="typeNameLink">UsersRecord</span></a> - Class in <a href="keywhiz/jooq/tables/records/package-summary.html">keywhiz.jooq.tables.records</a></dt> <dd> <div class="block">This class is generated by jOOQ.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#UsersRecord--">UsersRecord()</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Create a detached UsersRecord</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#UsersRecord-java.lang.String-java.lang.String-java.lang.Long-java.lang.Long-">UsersRecord(String, String, Long, Long)</a></span> - Constructor for class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dd> <div class="block">Create a detached, initialised UsersRecord</div> </dd> </dl> <a name="I:V"> <!-- --> </a> <h2 class="title">V</h2> <dl> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value1-java.lang.Long-">value1(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value1--">value1()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value1-java.lang.String-">value1(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value10-java.lang.String-">value10(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value10--">value10()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value10-java.lang.Long-">value10(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value11--">value11()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value11-java.lang.Boolean-">value11(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value2-java.lang.Long-">value2(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value2--">value2()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value2-java.lang.String-">value2(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value3-java.lang.String-">value3(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value3--">value3()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value3-java.lang.Long-">value3(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value4-java.lang.String-">value4(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value4--">value4()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#value4-java.lang.Long-">value4(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#value5-java.lang.Long-">value5(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#value5-java.lang.Long-">value5(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value5--">value5()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value5-java.lang.String-">value5(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value6--">value6()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value6-java.lang.String-">value6(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value7-java.lang.Long-">value7(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value7--">value7()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value7-java.lang.String-">value7(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value8-java.lang.Boolean-">value8(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value8--">value8()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value8-java.lang.String-">value8(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#value9-java.lang.Boolean-">value9(Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#value9-java.lang.Long-">value9(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#value9-java.lang.Long-">value9(Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value9--">value9()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#value9-java.lang.String-">value9(String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">values(Long, Long, Long, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.Boolean-java.lang.Boolean-java.lang.Long-">values(Long, String, Long, Long, String, String, String, Boolean, Boolean, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">values(Long, String, Long, Long, String, String, String, String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-">values(Long, Long, Long, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#values-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.Boolean-">values(Long, Long, String, String, String, String, Long, String, Long, Long, Boolean)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#values-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-java.lang.String-">values(Long, Long, Long, Long, String, String, String, String, Long, String)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#values-java.lang.Long-java.lang.String-java.lang.Long-java.lang.Long-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.Long-">values(Long, String, Long, Long, String, String, String, String, String, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#values-java.lang.String-java.lang.String-java.lang.Long-java.lang.Long-">values(String, String, Long, Long)</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/AccessgrantsRecord.html" title="class in keywhiz.jooq.tables.records">AccessgrantsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/ClientsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/ClientsRecord.html" title="class in keywhiz.jooq.tables.records">ClientsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/GroupsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/GroupsRecord.html" title="class in keywhiz.jooq.tables.records">GroupsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/MembershipsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/MembershipsRecord.html" title="class in keywhiz.jooq.tables.records">MembershipsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SchemaVersionRecord.html" title="class in keywhiz.jooq.tables.records">SchemaVersionRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsContentRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsContentRecord.html" title="class in keywhiz.jooq.tables.records">SecretsContentRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/SecretsRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/SecretsRecord.html" title="class in keywhiz.jooq.tables.records">SecretsRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/records/UsersRecord.html#valuesRow--">valuesRow()</a></span> - Method in class keywhiz.jooq.tables.records.<a href="keywhiz/jooq/tables/records/UsersRecord.html" title="class in keywhiz.jooq.tables.records">UsersRecord</a></dt> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#VERSION">VERSION</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.version</code>.</div> </dd> <dt><span class="memberNameLink"><a href="keywhiz/jooq/tables/SchemaVersion.html#VERSION_RANK">VERSION_RANK</a></span> - Variable in class keywhiz.jooq.tables.<a href="keywhiz/jooq/tables/SchemaVersion.html" title="class in keywhiz.jooq.tables">SchemaVersion</a></dt> <dd> <div class="block">The column <code>keywhizdb_test.schema_version.version_rank</code>.</div> </dd> </dl> <a href="#I:A">A</a>&nbsp;<a href="#I:C">C</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:F">F</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:I">I</a>&nbsp;<a href="#I:K">K</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:M">M</a>&nbsp;<a href="#I:N">N</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:R">R</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;<a href="#I:U">U</a>&nbsp;<a href="#I:V">V</a>&nbsp;</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="overview-summary.html">Overview</a></li> <li>Package</li> <li>Class</li> <li>Use</li> <li><a href="overview-tree.html">Tree</a></li> <li><a href="deprecated-list.html">Deprecated</a></li> <li class="navBarCell1Rev">Index</li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="index.html?index-all.html" target="_top">Frames</a></li> <li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p> </body> </html>
Java
// // https://github.com/Dogfalo/materialize/issues/634#issuecomment-113213629 // and // https://github.com/noodny/materializecss-amd/blob/master/config.js // // require([ 'global', 'initial', 'animation', 'buttons', 'cards', 'carousel', 'character_counter', 'chips', 'collapsible', 'dropdown', 'forms', 'hammerjs', 'jquery.easing', 'jquery.hammer', 'jquery.timeago', 'leanModal', 'materialbox', 'parallax', 'picker', 'picker.date', 'prism', 'pushpin', 'scrollFire', 'scrollspy', 'sideNav', 'slider', 'tabs', 'toasts', 'tooltip', 'transitions', 'velocity' ], function(Materialize) { return Materialize; } );
Java
// // SVNAuthenticationProvider.h // SVNKit // // Created by Patrick McDonnell on 8/9/14. // #import "SVNAPRPool.h" @class SVNAuthenticationProvider, SVNAuthenticationCredentials; @protocol SVNAuthenticationDataSource <NSObject> @optional -(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider simpleCredential:(SVNAuthenticationCredentials *)credentials; -(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider usernameCredential:(SVNAuthenticationCredentials *)credentials; @end @interface SVNAuthenticationProvider : SVNAPRPool @property (nonatomic, readonly) apr_array_header_t *providers; @property (nonatomic) id<SVNAuthenticationDataSource> dataSource; @end
Java
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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. // //*********************************************************// using System; using System.Runtime.InteropServices; using Microsoft.VisualStudioTools; using Microsoft.VisualStudioTools.Project; namespace Microsoft.NodejsTools.Project { [Guid("62E8E091-6914-498E-A47B-6F198DC1873D")] class NodejsGeneralPropertyPage : CommonPropertyPage { private readonly NodejsGeneralPropertyPageControl _control; public NodejsGeneralPropertyPage() { _control = new NodejsGeneralPropertyPageControl(this); } public override System.Windows.Forms.Control Control { get { return _control; } } internal override CommonProjectNode Project { get { return base.Project; } set { if (value == null && base.Project != null) { base.Project.PropertyPage = null; } base.Project = value; if (value != null) { ((NodejsProjectNode)value).PropertyPage = this; } } } public override void Apply() { Project.SetProjectProperty(NodeProjectProperty.NodeExePath, _control.NodeExePath); Project.SetProjectProperty(NodeProjectProperty.NodeExeArguments, _control.NodeExeArguments); Project.SetProjectProperty(CommonConstants.StartupFile, _control.ScriptFile); Project.SetProjectProperty(NodeProjectProperty.ScriptArguments, _control.ScriptArguments); Project.SetProjectProperty(NodeProjectProperty.NodejsPort, _control.NodejsPort); Project.SetProjectProperty(NodeProjectProperty.StartWebBrowser, _control.StartWebBrowser.ToString()); Project.SetProjectProperty(CommonConstants.WorkingDirectory, _control.WorkingDirectory); Project.SetProjectProperty(NodeProjectProperty.LaunchUrl, _control.LaunchUrl); Project.SetProjectProperty(NodeProjectProperty.DebuggerPort, _control.DebuggerPort); Project.SetProjectProperty(NodeProjectProperty.Environment, _control.Environment); IsDirty = false; } public override void LoadSettings() { Loading = true; try { _control.NodeExeArguments = Project.GetUnevaluatedProperty(NodeProjectProperty.NodeExeArguments); _control.NodeExePath = Project.GetUnevaluatedProperty(NodeProjectProperty.NodeExePath); _control.ScriptFile = Project.GetUnevaluatedProperty(CommonConstants.StartupFile); _control.ScriptArguments = Project.GetUnevaluatedProperty(NodeProjectProperty.ScriptArguments); _control.WorkingDirectory = Project.GetUnevaluatedProperty(CommonConstants.WorkingDirectory); _control.LaunchUrl = Project.GetUnevaluatedProperty(NodeProjectProperty.LaunchUrl); _control.NodejsPort = Project.GetUnevaluatedProperty(NodeProjectProperty.NodejsPort); _control.DebuggerPort = Project.GetUnevaluatedProperty(NodeProjectProperty.DebuggerPort); _control.Environment = Project.GetUnevaluatedProperty(NodeProjectProperty.Environment); // Attempt to parse the boolean. If we fail, assume it is true. bool startWebBrowser; if (!Boolean.TryParse(Project.GetUnevaluatedProperty(NodeProjectProperty.StartWebBrowser), out startWebBrowser)) { startWebBrowser = true; } _control.StartWebBrowser = startWebBrowser; } finally { Loading = false; } } public override string Name { get { return "General"; } } } }
Java
# Septoria mikaniae G. Winter SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Septoria mikaniae G. Winter ### Remarks null
Java
package org.plista.kornakapi.core.training.preferencechanges; import java.util.List; import java.util.Map; import com.google.common.collect.Lists; import com.google.common.collect.Maps; public class DelegatingPreferenceChangeListenerForLabel implements PreferenceChangeListenerForLabel { private final Map<String,List<PreferenceChangeListener>> delegates = Maps.newLinkedHashMap(); public void addDelegate(PreferenceChangeListener listener, String label) { if(delegates.containsKey(label)){ delegates.get(label).add(listener); }else{ List<PreferenceChangeListener> delegatesPerLabel = Lists.newArrayList(); delegatesPerLabel.add(listener); delegates.put(label, delegatesPerLabel); } } @Override public void notifyOfPreferenceChange(String label) { for (PreferenceChangeListener listener : delegates.get(label)) { listener.notifyOfPreferenceChange(); } } }
Java
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Windows.Forms; using CompatCheckAndMigrate.Helpers; using CompatCheckAndMigrate.ObjectModel; namespace CompatCheckAndMigrate.Controls { public partial class SiteStatusControl : UserControl, IWizardStep { private IISServers IISServers; public SiteStatusControl() { InitializeComponent(); IISServers = null; } public event EventHandler<GoToWizardStepEventArgs> GoTo; public void SetState(object state, bool isNavigatingBack = false) { if (state != null) { this.IISServers = (IISServers)state; } } private void FireGoToEvent(WizardSteps step, object state = null) { EventHandler<GoToWizardStepEventArgs> _goTo = GoTo; if (_goTo != null) { _goTo(this, new GoToWizardStepEventArgs(step, state)); } } private void btnFeedback_Click(object sender, EventArgs e) { FireGoToEvent(WizardSteps.FeedbackPage, this.IISServers); } private void btnInstall_Click(object sender, EventArgs e) { FireGoToEvent(WizardSteps.InstallWebDeploy, this.IISServers); } private void btnClose_Click(object sender, EventArgs e) { System.Windows.Forms.Application.Exit(); } private void SiteStatusControl_Load(object sender, EventArgs e) { if (this.IISServers != null) { foreach (var server in this.IISServers.Servers.Values) { foreach (var site in server.Sites.Where(s => s.PublishProfile != null && !string.IsNullOrEmpty(s.PublishProfile.SiteName))) { var siteItem = new SiteItemControl(site.PublishProfile.SiteName, string.IsNullOrEmpty(site.SiteCreationError)); siteItem.Dock = DockStyle.Top; statusPanel.Controls.Add(siteItem); } } } } private void button1_Click(object sender, EventArgs e) { Process.Start(TraceHelper.Tracer.TraceFile); } } }
Java
<?php namespace DCarbone\PHPClassBuilder\Template; /* * Copyright 2016-2017 Daniel Carbone (daniel.p.carbone@gmail.com) * * 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. */ use DCarbone\PHPClassBuilder\Exception\CommentLineIndexNotFoundException; use DCarbone\PHPClassBuilder\Exception\FilePartNotFoundException; use DCarbone\PHPClassBuilder\Exception\InvalidClassNameException; use DCarbone\PHPClassBuilder\Exception\InvalidCommentLineArgumentException; use DCarbone\PHPClassBuilder\Exception\InvalidCompileOptionValueException; use DCarbone\PHPClassBuilder\Exception\InvalidFilePartException; use DCarbone\PHPClassBuilder\Exception\InvalidFunctionBodyPartArgumentException; use DCarbone\PHPClassBuilder\Exception\InvalidFunctionNameException; use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceFunctionScopeException; use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceNameException; use DCarbone\PHPClassBuilder\Exception\InvalidInterfaceParentArgumentException; use DCarbone\PHPClassBuilder\Exception\InvalidNamespaceNameException; use DCarbone\PHPClassBuilder\Exception\InvalidOutputPathException; use DCarbone\PHPClassBuilder\Exception\InvalidVariableNameException; use DCarbone\PHPClassBuilder\Exception\MissingNameException; use DCarbone\PHPClassBuilder\Template\Structure\FunctionTemplate; /** * Class AbstractTemplate * @package DCarbone\PHPClassBuilder\Template */ abstract class AbstractTemplate implements TemplateInterface { /** * TODO: All templates MUST be able to compile with no options * * @return string */ public function __toString() { return $this->compile(); } /** * @param mixed $name * @return InvalidClassNameException */ protected function createInvalidClassNameException($name) { return new InvalidClassNameException(sprintf( '%s - Specified class name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information.', get_class($this), $this->_determineExceptionValueOutput($name) )); } /** * @param mixed $name * @return InvalidInterfaceNameException */ protected function createInvalidInterfaceNameException($name) { return new InvalidInterfaceNameException(sprintf( '%s - Specified interface name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information.', get_class($this), $this->_determineExceptionValueOutput($name) )); } /** * @param mixed $namespace * @return InvalidNamespaceNameException */ protected function createInvalidNamespaceNameException($namespace) { return new InvalidNamespaceNameException(sprintf( '%s - Specified namespace "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information', get_class($this), $this->_determineExceptionValueOutput($namespace) )); } /** * @param string $name * @return \DCarbone\PHPClassBuilder\Exception\InvalidFunctionNameException */ protected function createInvalidFunctionNameException($name) { return new InvalidFunctionNameException(sprintf( '%s - Specified method name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information', get_class($this), $this->_determineExceptionValueOutput($name) )); } /** * @param string $name * @return \DCarbone\PHPClassBuilder\Exception\InvalidVariableNameException */ protected function createInvalidVariableNameException($name) { return new InvalidVariableNameException(sprintf( '%s - Specified variable name "%s" is not valid. Please see http://php.net/manual/en/language.oop5.basic.php for more information', get_class($this), $this->_determineExceptionValueOutput($name) )); } /** * @param string $context * @return \DCarbone\PHPClassBuilder\Exception\MissingNameException */ protected function createMissingNameException($context) { return new MissingNameException(sprintf( '%s - %s', get_class($this), $context )); } /** * @param string $arg * @param string $expectedStatement * @param mixed $actualValue * @return \DCarbone\PHPClassBuilder\Exception\InvalidCompileOptionValueException */ protected function createInvalidCompileOptionValueException($arg, $expectedStatement, $actualValue) { return new InvalidCompileOptionValueException(sprintf( '%s - Specified invalid value "%s" for compile argument "%s". Expected: %s', get_class($this), $this->_determineExceptionValueOutput($actualValue), $arg, $expectedStatement )); } /** * @param mixed $sought * @return \OutOfBoundsException */ protected function createFilePartNotFoundException($sought) { return new FilePartNotFoundException(sprintf( '%s - Specified invalid offset "%s".', get_class($this), $this->_determineExceptionValueOutput($sought) )); } /** * @param mixed $part * @return InvalidFilePartException */ protected function createInvalidFilePartException($part) { return new InvalidFilePartException(sprintf( '%s - Files may only contain Comments and Structures, attempted to add "%s".', get_class($this), $this->_determineExceptionValueOutput($part) )); } /** * @param mixed $path * @return InvalidOutputPathException */ protected function createInvalidOutputPathException($path) { return new InvalidOutputPathException(sprintf( '%s - Specified output path "%s" does not appear to be a valid filepath.', get_class($path), $this->_determineExceptionValueOutput($path) )); } /** * @param mixed $line * @return InvalidCommentLineArgumentException */ protected function createInvalidCommentLineArgumentException($line) { return new InvalidCommentLineArgumentException(sprintf( '%s - Comment lines must be scalar types, %s seen.', get_class($this), $this->_determineExceptionValueOutput($line) )); } /** * @param mixed $offset * @return CommentLineIndexNotFoundException */ protected function createCommentLineIndexNotFoundException($offset) { return new CommentLineIndexNotFoundException(sprintf( '%s - Comment has no line at index "%s"', get_class($this), $this->_determineExceptionValueOutput($offset) )); } /** * @param mixed $line * @return InvalidFunctionBodyPartArgumentException */ protected function createInvalidFunctionBodyPartArgumentException($line) { return new InvalidFunctionBodyPartArgumentException(sprintf( '%s - Function body lines must be strings, %s seen.', get_class($this), $this->_determineExceptionValueOutput($line) )); } /** * @param mixed $argument * @return InvalidInterfaceParentArgumentException */ protected function createInvalidInterfaceParentArgumentException($argument) { return new InvalidInterfaceParentArgumentException(sprintf( '%s - Interface parent arguments must either be a string or an instance of InterfaceTemplate, %s seen.', get_class($this), $this->_determineExceptionValueOutput($argument) )); } /** * @param FunctionTemplate $function * @return InvalidInterfaceFunctionScopeException */ protected function createInvalidInterfaceFunctionScopeException(FunctionTemplate $function) { return new InvalidInterfaceFunctionScopeException(sprintf( '%s - Interface functions must be public, added function %s has scope of %s.', get_class($this), $this->_determineExceptionValueOutput($function->getName()), (string)$function->getScope() )); } /** * @param mixed $value * @return string */ private function _determineExceptionValueOutput($value) { switch (gettype($value)) { case 'string': return $value; case 'integer': case 'double': return (string)$value; case 'boolean': return $value ? '(boolean)TRUE' : '(boolean)FALSE'; case 'null': return 'NULL'; case 'array': return 'array'; case 'object': return get_class($value); case 'resource': return get_resource_type($value); default: return 'UNKNOWN'; } } }
Java
/** * 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 tools.descartes.teastore.persistence.rest; import java.util.ArrayList; import java.util.List; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.PathParam; import jakarta.ws.rs.QueryParam; import tools.descartes.teastore.persistence.domain.OrderItemRepository; import tools.descartes.teastore.persistence.repository.DataGenerator; import tools.descartes.teastore.registryclient.util.AbstractCRUDEndpoint; import tools.descartes.teastore.entities.OrderItem; /** * Persistence endpoint for for CRUD operations on orders. * @author Joakim von Kistowski * */ @Path("orderitems") public class OrderItemEndpoint extends AbstractCRUDEndpoint<OrderItem> { /** * {@inheritDoc} */ @Override protected long createEntity(final OrderItem orderItem) { if (DataGenerator.GENERATOR.isMaintenanceMode()) { return -1L; } return OrderItemRepository.REPOSITORY.createEntity(orderItem); } /** * {@inheritDoc} */ @Override protected OrderItem findEntityById(final long id) { OrderItem item = OrderItemRepository.REPOSITORY.getEntity(id); if (item == null) { return null; } return new OrderItem(item); } /** * {@inheritDoc} */ @Override protected List<OrderItem> listAllEntities(final int startIndex, final int maxResultCount) { List<OrderItem> orderItems = new ArrayList<OrderItem>(); for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntities(startIndex, maxResultCount)) { orderItems.add(new OrderItem(oi)); } return orderItems; } /** * {@inheritDoc} */ @Override protected boolean updateEntity(long id, OrderItem orderItem) { return OrderItemRepository.REPOSITORY.updateEntity(id, orderItem); } /** * {@inheritDoc} */ @Override protected boolean deleteEntity(long id) { if (DataGenerator.GENERATOR.isMaintenanceMode()) { return false; } return OrderItemRepository.REPOSITORY.removeEntity(id); } /** * Returns all order items with the given product Id (all order items for that product). * @param productId The id of the product. * @param startPosition The index (NOT ID) of the first order item with the product to return. * @param maxResult The max number of order items to return. * @return list of order items with the product. */ @GET @Path("product/{product:[0-9][0-9]*}") public List<OrderItem> listAllForProduct(@PathParam("product") final Long productId, @QueryParam("start") final Integer startPosition, @QueryParam("max") final Integer maxResult) { if (productId == null) { return listAll(startPosition, maxResult); } List<OrderItem> orderItems = new ArrayList<OrderItem>(); for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntitiesWithProduct(productId, parseIntQueryParam(startPosition), parseIntQueryParam(maxResult))) { orderItems.add(new OrderItem(oi)); } return orderItems; } /** * Returns all order items with the given order Id (all order items for that order). * @param orderId The id of the product. * @param startPosition The index (NOT ID) of the first order item with the product to return. * @param maxResult The max number of order items to return. * @return list of order items with the product. */ @GET @Path("order/{order:[0-9][0-9]*}") public List<OrderItem> listAllForOrder(@PathParam("order") final Long orderId, @QueryParam("start") final Integer startPosition, @QueryParam("max") final Integer maxResult) { if (orderId == null) { return listAll(startPosition, maxResult); } List<OrderItem> orderItems = new ArrayList<OrderItem>(); for (OrderItem oi : OrderItemRepository.REPOSITORY.getAllEntitiesWithOrder(orderId, parseIntQueryParam(startPosition), parseIntQueryParam(maxResult))) { orderItems.add(new OrderItem(oi)); } return orderItems; } }
Java
package apple.mlcompute; import apple.NSObject; import apple.foundation.NSArray; import apple.foundation.NSMethodSignature; import apple.foundation.NSSet; import apple.foundation.protocol.NSCopying; import org.moe.natj.c.ann.FunctionPtr; import org.moe.natj.general.NatJ; import org.moe.natj.general.Pointer; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.Mapped; import org.moe.natj.general.ann.MappedReturn; import org.moe.natj.general.ann.NInt; import org.moe.natj.general.ann.NUInt; import org.moe.natj.general.ann.Owned; import org.moe.natj.general.ann.Runtime; import org.moe.natj.general.ptr.VoidPtr; import org.moe.natj.objc.Class; import org.moe.natj.objc.ObjCRuntime; import org.moe.natj.objc.SEL; import org.moe.natj.objc.ann.ObjCClassBinding; import org.moe.natj.objc.ann.Selector; import org.moe.natj.objc.map.ObjCObjectMapper; /** * MLCRMSPropOptimizer * <p> * The MLCRMSPropOptimizer specifies the RMSProp optimizer. */ @Generated @Library("MLCompute") @Runtime(ObjCRuntime.class) @ObjCClassBinding public class MLCRMSPropOptimizer extends MLCOptimizer implements NSCopying { static { NatJ.register(); } @Generated protected MLCRMSPropOptimizer(Pointer peer) { super(peer); } @Generated @Selector("accessInstanceVariablesDirectly") public static native boolean accessInstanceVariablesDirectly(); @Generated @Owned @Selector("alloc") public static native MLCRMSPropOptimizer alloc(); @Owned @Generated @Selector("allocWithZone:") public static native MLCRMSPropOptimizer allocWithZone(VoidPtr zone); /** * [@property] alpha * <p> * The smoothing constant. * <p> * The default is 0.99. */ @Generated @Selector("alpha") public native float alpha(); @Generated @Selector("automaticallyNotifiesObserversForKey:") public static native boolean automaticallyNotifiesObserversForKey(String key); @Generated @Selector("cancelPreviousPerformRequestsWithTarget:") public static native void cancelPreviousPerformRequestsWithTarget(@Mapped(ObjCObjectMapper.class) Object aTarget); @Generated @Selector("cancelPreviousPerformRequestsWithTarget:selector:object:") public static native void cancelPreviousPerformRequestsWithTargetSelectorObject( @Mapped(ObjCObjectMapper.class) Object aTarget, SEL aSelector, @Mapped(ObjCObjectMapper.class) Object anArgument); @Generated @Selector("classFallbacksForKeyedArchiver") public static native NSArray<String> classFallbacksForKeyedArchiver(); @Generated @Selector("classForKeyedUnarchiver") public static native Class classForKeyedUnarchiver(); @Generated @Owned @Selector("copyWithZone:") @MappedReturn(ObjCObjectMapper.class) public native Object copyWithZone(VoidPtr zone); @Generated @Selector("debugDescription") public static native String debugDescription_static(); @Generated @Selector("description") public static native String description_static(); /** * [@property] epsilon * <p> * A term added to improve numerical stability. * <p> * The default is 1e-8. */ @Generated @Selector("epsilon") public native float epsilon(); @Generated @Selector("hash") @NUInt public static native long hash_static(); @Generated @Selector("init") public native MLCRMSPropOptimizer init(); @Generated @Selector("instanceMethodForSelector:") @FunctionPtr(name = "call_instanceMethodForSelector_ret") public static native NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(SEL aSelector); @Generated @Selector("instanceMethodSignatureForSelector:") public static native NSMethodSignature instanceMethodSignatureForSelector(SEL aSelector); @Generated @Selector("instancesRespondToSelector:") public static native boolean instancesRespondToSelector(SEL aSelector); /** * [@property] isCentered * <p> * If True, compute the centered RMSProp, the gradient is normalized by an estimation of its variance. * <p> * The default is false. */ @Generated @Selector("isCentered") public native boolean isCentered(); @Generated @Selector("isSubclassOfClass:") public static native boolean isSubclassOfClass(Class aClass); @Generated @Selector("keyPathsForValuesAffectingValueForKey:") public static native NSSet<String> keyPathsForValuesAffectingValueForKey(String key); /** * [@property] momentumScale * <p> * The momentum factor. A hyper-parameter. * <p> * The default is 0.0. */ @Generated @Selector("momentumScale") public native float momentumScale(); @Generated @Owned @Selector("new") public static native MLCRMSPropOptimizer new_objc(); /** * Create a MLCRMSPropOptimizer object with defaults * * @return A new MLCRMSPropOptimizer object. */ @Generated @Selector("optimizerWithDescriptor:") public static native MLCRMSPropOptimizer optimizerWithDescriptor(MLCOptimizerDescriptor optimizerDescriptor); /** * Create a MLCRMSPropOptimizer object * * @param optimizerDescriptor The optimizer descriptor object * @param momentumScale The momentum scale * @param alpha The smoothing constant value * @param epsilon The epsilon value to use to improve numerical stability * @param isCentered A boolean to specify whether to compute the centered RMSProp or not * @return A new MLCRMSPropOptimizer object. */ @Generated @Selector("optimizerWithDescriptor:momentumScale:alpha:epsilon:isCentered:") public static native MLCRMSPropOptimizer optimizerWithDescriptorMomentumScaleAlphaEpsilonIsCentered( MLCOptimizerDescriptor optimizerDescriptor, float momentumScale, float alpha, float epsilon, boolean isCentered); @Generated @Selector("resolveClassMethod:") public static native boolean resolveClassMethod(SEL sel); @Generated @Selector("resolveInstanceMethod:") public static native boolean resolveInstanceMethod(SEL sel); @Generated @Selector("setVersion:") public static native void setVersion_static(@NInt long aVersion); @Generated @Selector("superclass") public static native Class superclass_static(); @Generated @Selector("version") @NInt public static native long version_static(); }
Java
/* * Copyright 2020 Google LLC * * 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 * * https://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. */ /** * External dependencies */ import styled from 'styled-components'; import PropTypes from 'prop-types'; import { Popup } from '@googleforcreators/design-system'; import { __ } from '@googleforcreators/i18n'; /** * Internal dependencies */ import { useCanvas, useConfig } from '../../../app'; import useElementsWithLinks from '../../../utils/useElementsWithLinks'; import { OUTLINK_THEME } from '../../../constants'; import DefaultIcon from './icons/defaultIcon.svg'; import ArrowIcon from './icons/arrowBar.svg'; const Wrapper = styled.div` position: absolute; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; bottom: 0; height: 20%; width: 100%; color: ${({ theme }) => theme.colors.standard.white}; z-index: 3; `; const Guideline = styled.div` mix-blend-mode: difference; position: absolute; height: 1px; bottom: 20%; width: 100%; background-image: ${({ theme }) => `linear-gradient(to right, ${theme.colors.standard.black} 50%, ${theme.colors.standard.white} 0%)`}; background-position: top; background-size: 16px 0.5px; background-repeat: repeat-x; z-index: 3; `; // The CSS here is based on how it's displayed in the front-end, including static // font-size, line-height, etc. independent of the viewport size -- it's not responsive. const ArrowBar = styled(ArrowIcon)` display: block; cursor: pointer; margin-bottom: 10px; filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.3)); width: 20px; height: 8px; `; const OutlinkChip = styled.div` height: 36px; display: flex; position: relative; padding: 10px 6px; margin: 0 0 20px; max-width: calc(100% - 64px); border-radius: 30px; place-items: center; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); background: ${({ bgColor }) => bgColor}; `; const TextWrapper = styled.span` font-family: Roboto, sans-serif; font-size: 16px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; padding-inline-start: 6px; padding-inline-end: 8px; height: 16px; letter-spacing: 0.3px; font-weight: 700; max-width: 210px; color: ${({ fgColor }) => fgColor}; `; const Tooltip = styled.div` background-color: ${({ theme }) => theme.colors.standard.black}; color: ${({ theme }) => theme.colors.standard.white}; width: 200px; padding: 8px; font-size: 14px; border-radius: 4px; text-align: center; `; const LinkImage = styled.div` height: 24px; width: 24px; vertical-align: middle; background-size: cover; background-repeat: no-repeat; background-position: 50%; border-radius: 50%; background-image: url('${({ icon }) => icon}') !important; `; const spacing = { x: 8 }; const LIGHT_COLOR = '#FFFFFF'; const DARK_COLOR = '#000000'; function PageAttachment({ pageAttachment = {} }) { const { displayLinkGuidelines, pageAttachmentContainer, setPageAttachmentContainer, } = useCanvas((state) => ({ displayLinkGuidelines: state.state.displayLinkGuidelines, pageAttachmentContainer: state.state.pageAttachmentContainer, setPageAttachmentContainer: state.actions.setPageAttachmentContainer, })); const { hasInvalidLinkSelected } = useElementsWithLinks(); const { ctaText = __('Learn more', 'web-stories'), url, icon, theme, } = pageAttachment; const { isRTL, styleConstants: { topOffset } = {} } = useConfig(); const bgColor = theme === OUTLINK_THEME.DARK ? DARK_COLOR : LIGHT_COLOR; const fgColor = theme === OUTLINK_THEME.DARK ? LIGHT_COLOR : DARK_COLOR; return ( <> {(displayLinkGuidelines || hasInvalidLinkSelected) && <Guideline />} <Wrapper role="presentation" ref={setPageAttachmentContainer}> {url?.length > 0 && ( <> <ArrowBar fill={bgColor} /> <OutlinkChip bgColor={bgColor}> {icon ? ( <LinkImage icon={icon} /> ) : ( <DefaultIcon fill={fgColor} width={24} height={24} /> )} <TextWrapper fgColor={fgColor}>{ctaText}</TextWrapper> </OutlinkChip> {pageAttachmentContainer && hasInvalidLinkSelected && ( <Popup isRTL={isRTL} anchor={{ current: pageAttachmentContainer }} isOpen placement={'left'} spacing={spacing} topOffset={topOffset} > <Tooltip> {__( 'Links can not reside below the dashed line when a page attachment is present. Your viewers will not be able to click on the link.', 'web-stories' )} </Tooltip> </Popup> )} </> )} </Wrapper> </> ); } PageAttachment.propTypes = { pageAttachment: PropTypes.shape({ url: PropTypes.string, ctaText: PropTypes.string, }), }; export default PageAttachment;
Java
package com.jflyfox.dudu.module.system.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.jflyfox.dudu.component.model.Query; import com.jflyfox.dudu.module.system.model.SysMenu; import com.jflyfox.util.StrUtils; import org.apache.ibatis.annotations.SelectProvider; import org.apache.ibatis.jdbc.SQL; import java.util.List; /** * 菜单 数据层 * * @author flyfox 369191470@qq.com on 2017-06-20. */ public interface MenuMapper extends BaseMapper<SysMenu> { @SelectProvider(type = SqlBuilder.class, method = "selectMenuPage") List<SysMenu> selectMenuPage(Query query); class SqlBuilder { public String selectMenuPage(Query query) { String sqlColumns = "t.id,t.parentid,t.name,t.urlkey,t.url,t.status,t.type,t.sort,t.level,t.enable,t.update_time as updateTime,t.update_id as updateId,t.create_time as createTime,t.create_id as createId"; return new SQL() {{ SELECT(sqlColumns + " ,p.name as parentName,uu.username as updateName,uc.username as createName"); FROM(" sys_menu t "); LEFT_OUTER_JOIN(" sys_user uu on t.update_id = uu.id "); LEFT_OUTER_JOIN(" sys_user uc on t.create_id = uc.id "); LEFT_OUTER_JOIN(" sys_menu p on t.parentid = p.id "); if (StrUtils.isNotEmpty(query.getStr("name"))) { WHERE(" t.name like concat('%',#{name},'%')"); } if (StrUtils.isNotEmpty(query.getOrderBy())) { ORDER_BY(query.getOrderBy()); } else { ORDER_BY(" t.id desc"); } }}.toString(); } } }
Java
/** * * Copyright 2003-2007 Jive Software. * * 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 org.jivesoftware.smack.chat; import java.util.Collections; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import org.jivesoftware.smack.SmackException.NotConnectedException; import org.jivesoftware.smack.StanzaCollector; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.util.StringUtils; import org.jxmpp.jid.EntityJid; /** * A chat is a series of messages sent between two users. Each chat has a unique * thread ID, which is used to track which messages are part of a particular * conversation. Some messages are sent without a thread ID, and some clients * don't send thread IDs at all. Therefore, if a message without a thread ID * arrives it is routed to the most recently created Chat with the message * sender. * * @author Matt Tucker * @deprecated use <code>org.jivesoftware.smack.chat2.Chat</code> from <code>smack-extensions</code> instead. */ @Deprecated public class Chat { private final ChatManager chatManager; private final String threadID; private final EntityJid participant; private final Set<ChatMessageListener> listeners = new CopyOnWriteArraySet<>(); /** * Creates a new chat with the specified user and thread ID. * * @param chatManager the chatManager the chat will use. * @param participant the user to chat with. * @param threadID the thread ID to use. */ Chat(ChatManager chatManager, EntityJid participant, String threadID) { if (StringUtils.isEmpty(threadID)) { throw new IllegalArgumentException("Thread ID must not be null"); } this.chatManager = chatManager; this.participant = participant; this.threadID = threadID; } /** * Returns the thread id associated with this chat, which corresponds to the * <tt>thread</tt> field of XMPP messages. This method may return <tt>null</tt> * if there is no thread ID is associated with this Chat. * * @return the thread ID of this chat. */ public String getThreadID() { return threadID; } /** * Returns the name of the user the chat is with. * * @return the name of the user the chat is occuring with. */ public EntityJid getParticipant() { return participant; } /** * Sends the specified text as a message to the other chat participant. * This is a convenience method for: * * <pre> * Message message = chat.createMessage(); * message.setBody(messageText); * chat.sendMessage(message); * </pre> * * @param text the text to send. * @throws NotConnectedException * @throws InterruptedException */ public void sendMessage(String text) throws NotConnectedException, InterruptedException { Message message = new Message(); message.setBody(text); sendMessage(message); } /** * Sends a message to the other chat participant. The thread ID, recipient, * and message type of the message will automatically set to those of this chat. * * @param message the message to send. * @throws NotConnectedException * @throws InterruptedException */ public void sendMessage(Message message) throws NotConnectedException, InterruptedException { // Force the recipient, message type, and thread ID since the user elected // to send the message through this chat object. message.setTo(participant); message.setType(Message.Type.chat); message.setThread(threadID); chatManager.sendMessage(this, message); } /** * Adds a stanza(/packet) listener that will be notified of any new messages in the * chat. * * @param listener a stanza(/packet) listener. */ public void addMessageListener(ChatMessageListener listener) { if (listener == null) { return; } // TODO these references should be weak. listeners.add(listener); } public void removeMessageListener(ChatMessageListener listener) { listeners.remove(listener); } /** * Closes the Chat and removes all references to it from the {@link ChatManager}. The chat will * be unusable when this method returns, so it's recommend to drop all references to the * instance right after calling {@link #close()}. */ public void close() { chatManager.closeChat(this); listeners.clear(); } /** * Returns an unmodifiable set of all of the listeners registered with this chat. * * @return an unmodifiable set of all of the listeners registered with this chat. */ public Set<ChatMessageListener> getListeners() { return Collections.unmodifiableSet(listeners); } /** * Creates a {@link org.jivesoftware.smack.StanzaCollector} which will accumulate the Messages * for this chat. Always cancel StanzaCollectors when finished with them as they will accumulate * messages indefinitely. * * @return the StanzaCollector which returns Messages for this chat. */ public StanzaCollector createCollector() { return chatManager.createStanzaCollector(this); } /** * Delivers a message directly to this chat, which will add the message * to the collector and deliver it to all listeners registered with the * Chat. This is used by the XMPPConnection class to deliver messages * without a thread ID. * * @param message the message. */ void deliver(Message message) { // Because the collector and listeners are expecting a thread ID with // a specific value, set the thread ID on the message even though it // probably never had one. message.setThread(threadID); for (ChatMessageListener listener : listeners) { listener.processMessage(this, message); } } @Override public String toString() { return "Chat [(participant=" + participant + "), (thread=" + threadID + ")]"; } @Override public int hashCode() { int hash = 1; hash = hash * 31 + threadID.hashCode(); hash = hash * 31 + participant.hashCode(); return hash; } @Override public boolean equals(Object obj) { return obj instanceof Chat && threadID.equals(((Chat) obj).getThreadID()) && participant.equals(((Chat) obj).getParticipant()); } }
Java
module.exports = function (config) { 'use strict'; config.set({ basePath: '../', files: [ // Angular libraries. 'app/assets/lib/angular/angular.js', 'app/assets/lib/angular-ui-router/release/angular-ui-router.js', 'app/assets/lib/angular-bootstrap/ui-bootstrap.min.js', 'app/assets/lib/angular-mocks/angular-mocks.js', 'app/assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js', 'app/assets/lib/angular-busy/dist/angular-busy.min.js', 'app/assets/lib/angular-resource/angular-resource.min.js', 'app/assets/lib/angular-confirm-modal/angular-confirm.js', // JS files. 'app/app.js', 'app/components/**/*.js', 'app/shared/*.js', 'app/shared/**/*.js', 'app/assets/js/*.js', // Test Specs. 'tests/unit/*.js' ], autoWatch: true, frameworks: ['jasmine'], browsers: ['Firefox', 'PhantomJS', 'Chrome'], plugins: [ 'karma-chrome-launcher', 'karma-firefox-launcher', 'karma-phantomjs-launcher', 'karma-jasmine' ], junitReporter: { outputFile: 'test_out/unit.xml', suite: 'unit' } }); };
Java
package edu.kit.tm.pseprak2.alushare.view; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.os.Environment; import android.util.Log; import java.io.IOException; /** * Represent the AudioRecorder of the ChatActivity. * Enables recording sound and playing the music before sending. * * Created by Arthur Anselm on 17.08.15. */ public class AudioRecorder { private String mFileName = null; private String TAG = "AudioRecorder"; private MediaRecorder mRecorder = null; private MediaPlayer mPlayer = null; private ChatController controller; private boolean busy; //private SeekBar mSeekbar; //private Handler mHandler; /** * The constructor of this class. * @param controller the controller for this audioRecorder object */ public AudioRecorder(ChatController controller){ if(controller == null){ throw new NullPointerException(); } this.controller = controller; //this.mSeekbar = seekBar; //this.mHandler = new Handler(); this.mFileName = Environment.getExternalStorageDirectory().getAbsolutePath(); this.mFileName += "/audiorecord_alushare.m4a"; this.busy = false; } /** * Invokes the method startRecording() (and sets busy to true) if start is true else * stopRecording(). * @param start boolean to start or stop recording */ public void onRecord(boolean start) { if (start) { busy = true; startRecording(); } else { stopRecording(); } } /** * Invokes startPlaying() if start is true else stopPlaying(). * @param start boolean to start or stop playing */ public void onPlay(boolean start) { if (start) { startPlaying(); } else { stopPlaying(); } } /** * Creates a new mediaPlayer and sets it up. After that starts playing the audoFile stored in * the filesPath mFileName */ private void startPlaying() { if(mFileName == null){ throw new NullPointerException("Recorded file is null."); } setUpMediaPlayer(); try { mPlayer.setDataSource(mFileName); mPlayer.prepare(); mPlayer.start(); } catch (IOException e) { Log.e(TAG, "prepare() failed"); } } /** * Creates a new mediaPlayer and sets the completion listener. */ private void setUpMediaPlayer(){ mPlayer = new MediaPlayer(); mPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() { @Override public void onCompletion(MediaPlayer mp) { Log.e(TAG, " : Playing of Sound completed"); controller.setPlayButtonVisible(true); } }); /* mPlayer.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { @Override public void onPrepared(final MediaPlayer mp) { mSeekbar.setMax(mp.getDuration()); new Thread(new Runnable() { @Override public void run() { while (mp != null && mp.getCurrentPosition() < mp.getDuration()) { mSeekbar.setProgress(mp.getCurrentPosition()); Message msg = new Message(); int millis = mp.getCurrentPosition(); msg.obj = millis / 1000; mHandler.sendMessage(msg); try { Thread.sleep(100); } catch (InterruptedException e) { e.printStackTrace(); } } } }).start(); } });*/ } /** * Stops playing the mediaPlayer with the method release() and releases the references to the * mediaPlayer if the mediaPlayer isn't null. */ private void stopPlaying() { if(mPlayer != null) { mPlayer.release(); mPlayer = null; } else { Log.e(TAG, "MediaPlayer is null. stopPlaying() can't be executed."); } } /** * Creates a new mediaRecorder and set it up. * Start recording and saving the audio data into the file stored at fileName. */ private void startRecording() { mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); mRecorder.setAudioChannels(1); mRecorder.setAudioSamplingRate(44100); mRecorder.setAudioEncodingBitRate(96000); mRecorder.setOutputFile(mFileName); try { mRecorder.prepare(); } catch (IOException e) { Log.e(TAG, "prepare() failed"); return; } mRecorder.start(); } /** * Stops recording, invokes release of the mediaRecorder and releases the references to the * mediaRecorder if the mediaRecorder isn't null. */ private void stopRecording() { if(mRecorder != null) { mRecorder.stop(); mRecorder.release(); mRecorder = null; } else { Log.e(TAG, "MediaRecorder is null. stopRecording() can't be executed."); } } /** *Return the filePath of the recorded audio file * @return this.mFileName */ public String getFilePath(){ return mFileName; } /** * Sets the busyness of this audioRecorder * @param busy true if the audioRecorder is active else false */ public void setBusy(boolean busy){ this.busy = busy; } /** * Checks if this audioRecorder is active oder not. Returns busy. * @return busy */ public boolean isBusy(){ return busy; } }
Java
package com.zts.service.config; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = DataSourceProperties.DS, ignoreUnknownFields = false) public class DataSourceProperties { //对应配置文件里的配置键 public final static String DS="mysql"; private String driverClassName ="com.mysql.jdbc.Driver"; private String url; private String username; private String password; private int maxActive = 100; private int maxIdle = 8; private int minIdle = 8; private int initialSize = 10; private String validationQuery; public String getDriverClassName() { return driverClassName; } public void setDriverClassName(String driverClassName) { this.driverClassName = driverClassName; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public int getMaxActive() { return maxActive; } public void setMaxActive(int maxActive) { this.maxActive = maxActive; } public int getMaxIdle() { return maxIdle; } public void setMaxIdle(int maxIdle) { this.maxIdle = maxIdle; } public int getMinIdle() { return minIdle; } public void setMinIdle(int minIdle) { this.minIdle = minIdle; } public int getInitialSize() { return initialSize; } public void setInitialSize(int initialSize) { this.initialSize = initialSize; } public String getValidationQuery() { return validationQuery; } public void setValidationQuery(String validationQuery) { this.validationQuery = validationQuery; } public boolean isTestOnBorrow() { return testOnBorrow; } public void setTestOnBorrow(boolean testOnBorrow) { this.testOnBorrow = testOnBorrow; } public boolean isTestOnReturn() { return testOnReturn; } public void setTestOnReturn(boolean testOnReturn) { this.testOnReturn = testOnReturn; } private boolean testOnBorrow = false; private boolean testOnReturn = false; }
Java
package com.github.approval.sesame; /* * #%L * approval-sesame * %% * Copyright (C) 2014 Nikolavp * %% * 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. * #L% */ import com.github.approval.Reporter; import com.github.approval.reporters.ExecutableDifferenceReporter; import com.github.approval.reporters.Reporters; import com.github.approval.reporters.SwingInteractiveReporter; import java.io.File; /** * <p> * A reporter that can be used to verify dot files. It will compile the file to an image and open it through * {@link com.github.approval.reporters.Reporters#fileLauncher()}. * </p> * <p> * Note that this reporter cannot be used for anything else and will give you an error beceause it will * try to compile the verification file with the "dot" command. * </p> */ public final class GraphReporter extends ExecutableDifferenceReporter { /** * Get an instance of the reporter. * @return a graph reporter */ public static Reporter getInstance() { return SwingInteractiveReporter.wrap(new GraphReporter()); } /** * Main constructor for the executable reporter. */ private GraphReporter() { super("dot -T png -O ", "dot -T png -O ", "dot"); } private static File addPng(File file) { return new File(file.getAbsoluteFile().getAbsolutePath() + ".png"); } @Override public void approveNew(byte[] value, File approvalDestination, File fileForVerification) { super.approveNew(value, approvalDestination, fileForVerification); Reporters.fileLauncherWithoutInteraction().approveNew(value, addPng(approvalDestination), addPng(fileForVerification)); } @Override protected String[] buildApproveNewCommand(File approvalDestination, File fileForVerification) { return new String[]{getApprovalCommand(), approvalDestination.getAbsolutePath()}; } @Override protected String[] buildNotTheSameCommand(File fileForVerification, File fileForApproval) { return new String[]{getDiffCommand(), fileForApproval.getAbsolutePath()}; } @Override public void notTheSame(byte[] oldValue, File fileForVerification, byte[] newValue, File fileForApproval) { super.notTheSame(oldValue, fileForVerification, newValue, fileForApproval); Reporters.fileLauncherWithoutInteraction().notTheSame(oldValue, addPng(fileForVerification), newValue, addPng(fileForApproval)); } }
Java
import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import { get } from '@ember/object'; export default Route.extend({ access: service(), catalog: service(), scope: service(), beforeModel() { this._super(...arguments); return get(this, 'catalog').fetchUnScopedCatalogs().then((hash) => { this.set('catalogs', hash); }); }, model(params) { return get(this, 'catalog').fetchTemplates(params) .then((res) => { res.catalogs = get(this, 'catalogs'); return res; }); }, resetController(controller, isExiting/* , transition*/) { if (isExiting) { controller.setProperties({ category: '', catalogId: '', projectCatalogId: '', clusterCatalogId: '', }) } }, deactivate() { // Clear the cache when leaving the route so that it will be reloaded when you come back. this.set('cache', null); }, actions: { refresh() { // Clear the cache so it has to ask the server again this.set('cache', null); this.refresh(); }, }, queryParams: { category: { refreshModel: true }, catalogId: { refreshModel: true }, clusterCatalogId: { refreshModel: true }, projectCatalogId: { refreshModel: true }, }, });
Java
package AbsSytree; import java.util.ArrayList; public class SynExprSeq extends AbsSynNode { public ArrayList<AbsSynNode> exprs; public SynExprSeq(AbsSynNode e) { this.exprs = new ArrayList<AbsSynNode>(); this.exprs.add(e); } public SynExprSeq append(AbsSynNode e) { this.exprs.add(e); return this; } @Override public Object visit(SynNodeVisitor visitor) { return visitor.visit(this); } @Override public void dumpNode(int indent) { for (int i = 0; i < this.exprs.size(); ++i) { this.exprs.get(i).dumpNode(indent); this.dumpFormat(indent, ";"); } } @Override public void clearAttr() { this.attr = null; for (int i = 0; i < this.exprs.size(); ++i) this.exprs.get(i).clearAttr(); } }
Java
/** * Copyright 2017 Matthieu Jimenez. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * 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 paw.graph.customTypes.bitset; import greycat.base.BaseCustomType; import greycat.struct.EStructArray; import greycat.utility.HashHelper; import org.roaringbitmap.IntIterator; import java.util.List; public abstract class CTBitset extends BaseCustomType{ public static final String BITS = "bits"; protected static final int BITS_H = HashHelper.hash(BITS); public CTBitset(EStructArray p_backend) { super(p_backend); } public abstract void save(); public abstract void clear(); public abstract boolean add(int index); public abstract boolean addAll(List<Integer> indexs); public abstract void clear(int index); public abstract int size(); public abstract int cardinality(); public abstract boolean get(int index); public abstract int nextSetBit(int startIndex); public abstract IntIterator iterator(); }
Java
/* * Copyright (c) 2015 PLUMgrid, Inc. * * 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. */ #include "bcc_common.h" #include "bpf_module.h" extern "C" { void * bpf_module_create_c(const char *filename, unsigned flags, const char *cflags[], int ncflags, bool allow_rlimit, const char *dev_name) { auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); if (mod->load_c(filename, cflags, ncflags) != 0) { delete mod; return nullptr; } return mod; } void * bpf_module_create_c_from_string(const char *text, unsigned flags, const char *cflags[], int ncflags, bool allow_rlimit, const char *dev_name) { auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); if (mod->load_string(text, cflags, ncflags) != 0) { delete mod; return nullptr; } return mod; } bool bpf_module_rw_engine_enabled() { return ebpf::bpf_module_rw_engine_enabled(); } void bpf_module_destroy(void *program) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return; delete mod; } size_t bpf_num_functions(void *program) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->num_functions(); } const char * bpf_function_name(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->function_name(id); } void * bpf_function_start(void *program, const char *name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->function_start(name); } void * bpf_function_start_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->function_start(id); } size_t bpf_function_size(void *program, const char *name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->function_size(name); } size_t bpf_function_size_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->function_size(id); } char * bpf_module_license(void *program) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->license(); } unsigned bpf_module_kern_version(void *program) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->kern_version(); } size_t bpf_num_tables(void *program) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->num_tables(); } size_t bpf_table_id(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return ~0ull; return mod->table_id(table_name); } int bpf_table_fd(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_fd(table_name); } int bpf_table_fd_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_fd(id); } int bpf_table_type(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_type(table_name); } int bpf_table_type_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_type(id); } size_t bpf_table_max_entries(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_max_entries(table_name); } size_t bpf_table_max_entries_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_max_entries(id); } int bpf_table_flags(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_flags(table_name); } int bpf_table_flags_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_flags(id); } const char * bpf_table_name(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->table_name(id); } const char * bpf_table_key_desc(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->table_key_desc(table_name); } const char * bpf_table_key_desc_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->table_key_desc(id); } const char * bpf_table_leaf_desc(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->table_leaf_desc(table_name); } const char * bpf_table_leaf_desc_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->table_leaf_desc(id); } size_t bpf_table_key_size(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_key_size(table_name); } size_t bpf_table_key_size_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_key_size(id); } size_t bpf_table_leaf_size(void *program, const char *table_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_leaf_size(table_name); } size_t bpf_table_leaf_size_id(void *program, size_t id) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->table_leaf_size(id); } int bpf_table_key_snprintf(void *program, size_t id, char *buf, size_t buflen, const void *key) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_key_printf(id, buf, buflen, key); } int bpf_table_leaf_snprintf(void *program, size_t id, char *buf, size_t buflen, const void *leaf) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_leaf_printf(id, buf, buflen, leaf); } int bpf_table_key_sscanf(void *program, size_t id, const char *buf, void *key) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_key_scanf(id, buf, key); } int bpf_table_leaf_sscanf(void *program, size_t id, const char *buf, void *leaf) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->table_leaf_scanf(id, buf, leaf); } int bcc_func_load(void *program, int prog_type, const char *name, const struct bpf_insn *insns, int prog_len, const char *license, unsigned kern_version, int log_level, char *log_buf, unsigned log_buf_size, const char *dev_name) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return -1; return mod->bcc_func_load(prog_type, name, insns, prog_len, license, kern_version, log_level, log_buf, log_buf_size, dev_name); } size_t bpf_perf_event_fields(void *program, const char *event) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return 0; return mod->perf_event_fields(event); } const char * bpf_perf_event_field(void *program, const char *event, size_t i) { auto mod = static_cast<ebpf::BPFModule *>(program); if (!mod) return nullptr; return mod->perf_event_field(event, i); } }
Java
<!DOCTYPE html> <html lang="en" ng-app="querypro"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content="Jesse Cascio"> <title>SB Admin 2 - Bootstrap Admin Theme</title> <!-- Bootstrap Core CSS --> <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- MetisMenu CSS --> <link href="bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="dist/css/sb-admin-2.css" rel="stylesheet"> <!-- Custom Fonts --> <link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <!-- d3 @ 3.5.5 --> <script src="js/d3.min.js"></script> </head> <body> <div id="wrapper"> <!-- Navigation --> <div ng-include src="'includes/navigation.html'"></div> <!-- Page Content --> <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Blank</h1> <div class="d3"></div> <!-- d3 code --> <script type="text/javascript"> // From http://mkweb.bcgsc.ca/circos/guide/tables/ var matrix = [ [11975, 5871, 8916, 2868], [ 1951, 10048, 2060, 6171], [ 8010, 16145, 8090, 8045], [ 1013, 990, 940, 6907] ]; var chord = d3.layout.chord() .padding(.05) .sortSubgroups(d3.descending) .matrix(matrix); var width = 960, height = 500, innerRadius = Math.min(width, height) * .41, outerRadius = innerRadius * 1.1; var fill = d3.scale.ordinal() .domain(d3.range(4)) .range(["#000000", "#FFDD89", "#957244", "#F26223"]); var svg = d3.select("div.d3").append("svg") .attr("width", width) .attr("height", height) .append("g") .attr("transform", "translate(" + width / 2 + "," + height / 2 + ")"); svg.append("g").selectAll("path") .data(chord.groups) .enter().append("path") .style("fill", function(d) { return fill(d.index); }) .style("stroke", function(d) { return fill(d.index); }) .attr("d", d3.svg.arc().innerRadius(innerRadius).outerRadius(outerRadius)) .on("mouseover", fade(.1)) .on("mouseout", fade(1)); var ticks = svg.append("g").selectAll("g") .data(chord.groups) .enter().append("g").selectAll("g") .data(groupTicks) .enter().append("g") .attr("transform", function(d) { return "rotate(" + (d.angle * 180 / Math.PI - 90) + ")" + "translate(" + outerRadius + ",0)"; }); ticks.append("line") .attr("x1", 1) .attr("y1", 0) .attr("x2", 5) .attr("y2", 0) .style("stroke", "#000"); ticks.append("text") .attr("x", 8) .attr("dy", ".35em") .attr("transform", function(d) { return d.angle > Math.PI ? "rotate(180)translate(-16)" : null; }) .style("text-anchor", function(d) { return d.angle > Math.PI ? "end" : null; }) .text(function(d) { return d.label; }); svg.append("g") .attr("class", "chord") .selectAll("path") .data(chord.chords) .enter().append("path") .attr("d", d3.svg.chord().radius(innerRadius)) .style("fill", function(d) { return fill(d.target.index); }) .style("opacity", 1); // Returns an array of tick angles and labels, given a group. function groupTicks(d) { var k = (d.endAngle - d.startAngle) / d.value; return d3.range(0, d.value, 1000).map(function(v, i) { return { angle: v * k + d.startAngle, label: i % 5 ? null : v / 1000 + "k" }; }); } // Returns an event handler for fading a given chord group. function fade(opacity) { return function(g, i) { svg.selectAll(".chord path") .filter(function(d) { return d.source.index != i && d.target.index != i; }) .transition() .style("opacity", opacity); }; } /* var columns = ['hash', 'query', 'duration']; var points = [ [123,'query1',.230], [124,'query2',.231], [125,'query3',.232], [126,'query4',.233], [127,'query5',.234], [128,'query6',.235], [129,'query7',.236], [131,'query8',.237], ]; d3.select("body").append("p").text("New paragraph!"); */ </script> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper --> </div> <!-- /#wrapper --> <!-- angularjs @ 1.4.1 --> <script src="js/angular.min.js"></script> <!-- app --> <script src="js/app.js"></script> <!-- jQuery --> <script src="bower_components/jquery/dist/jquery.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> <!-- Metis Menu Plugin JavaScript --> <script src="bower_components/metisMenu/dist/metisMenu.min.js"></script> <!-- Custom Theme JavaScript --> <script src="dist/js/sb-admin-2.js"></script> </body> </html>
Java
/** * Copyright Microsoft Corporation * * 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.microsoft.windowsazure.core.pipeline; import com.sun.jersey.core.util.Base64; import javax.xml.bind.annotation.adapters.XmlAdapter; /* * JAXB adapter for a Base64 encoded string element */ public class Base64StringAdapter extends XmlAdapter<String, String> { @Override public String marshal(String arg0) throws Exception { return new String(Base64.encode(arg0), "UTF-8"); } @Override public String unmarshal(String arg0) throws Exception { return Base64.base64Decode(arg0); } }
Java
/** * Copyright 2016 William Van Woensel 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. * * * @author wvw * */ package wvw.utils.rule.builder; public abstract class RuleBuilder { protected String id; protected StringBuffer templateClause = new StringBuffer(); protected StringBuffer conditionClause = new StringBuffer(); public RuleBuilder() { } public RuleBuilder(String id) { this.id = id; } public void appendTemplate(String template) { templateClause.append("\t").append(template); } public void appendCondition(String condition) { conditionClause.append("\t").append(condition); } public String getId() { return id; } public abstract String toString(); }
Java
// Copyright 2012 Max Toro Q. // // 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. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace myxsl.saxon { static class StringExtensions { public static bool HasValue(this string s) { return !String.IsNullOrEmpty(s); } } }
Java
using System; using System.IO; using System.Text; namespace NuGet { public static class StreamExtensions { public static byte[] ReadAllBytes(this Stream stream) { var memoryStream = stream as MemoryStream; if (memoryStream != null) { return memoryStream.ToArray(); } else { using (memoryStream = new MemoryStream()) { stream.CopyTo(memoryStream); return memoryStream.ToArray(); } } } /// <summary> /// Turns an existing stream into one that a stream factory that can be reopened. /// </summary> public static Func<Stream> ToStreamFactory(this Stream stream) { byte[] buffer; using (var ms = new MemoryStream()) { stream.CopyTo(ms); buffer = ms.ToArray(); } return () => new MemoryStream(buffer); } public static string ReadToEnd(this Stream stream) { using (var streamReader = new StreamReader(stream)) { return streamReader.ReadToEnd(); } } public static Stream AsStream(this string value) { return AsStream(value, Encoding.UTF8); } public static Stream AsStream(this string value, Encoding encoding) { return new MemoryStream(encoding.GetBytes(value)); } public static bool ContentEquals(this Stream stream, Stream otherStream) { return Crc32.Calculate(stream) == Crc32.Calculate(otherStream); } } }
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /ammon/images/sliders</title> <meta charset="UTF-8"></head> <body> <h1>Index of /ammon/images/sliders</h1> <ul><li><a href="../index.html"> Parent Directory</a></li> <li><a href="./anything_slider/index.html"> anything_slider/</a></li> <li><a href="./full_slider/index.html"> full_slider/</a></li> <li><a href="./interactive_content/index.html"> interactive_content/</a></li> <li><a href="./nivoslider/index.html"> nivoslider/</a></li> <li><a href="./piecemaker/index.html"> piecemaker/</a></li> <li><a href="./portfolio_showcase/index.html"> portfolio_showcase/</a></li> <li><a href="./wowslider/index.html"> wowslider/</a></li> </ul> </body></html>
Java
enum{V}; enum{K}ABC; enum{Global = 10,Window}Type;
Java
/* * Copyright 2013, Unitils.org * * 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 org.unitils.core.reflect; import org.junit.Before; import org.junit.Test; import java.lang.reflect.ParameterizedType; import java.util.List; import java.util.Map; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * @author Tim Ducheyne */ public class TypeWrapperIsAssignableParameterizedTypeTest { /* Tested object */ private TypeWrapper typeWrapper; private ParameterizedType type1; private ParameterizedType type2; private ParameterizedType type3; private ParameterizedType type4; private ParameterizedType type5; private ParameterizedType type6; private ParameterizedType type7; private ParameterizedType type8; @Before public void initialize() throws Exception { typeWrapper = new TypeWrapper(null); type1 = (ParameterizedType) MyClass.class.getDeclaredField("field1").getGenericType(); type2 = (ParameterizedType) MyClass.class.getDeclaredField("field2").getGenericType(); type3 = (ParameterizedType) MyClass.class.getDeclaredField("field3").getGenericType(); type4 = (ParameterizedType) MyClass.class.getDeclaredField("field4").getGenericType(); type5 = (ParameterizedType) MyClass.class.getDeclaredField("field5").getGenericType(); type6 = (ParameterizedType) MyClass.class.getDeclaredField("field6").getGenericType(); type7 = (ParameterizedType) MyClass.class.getDeclaredField("field7").getGenericType(); type8 = (ParameterizedType) MyClass.class.getDeclaredField("field8").getGenericType(); } @Test public void equal() { boolean result = typeWrapper.isAssignableParameterizedType(type1, type2); assertTrue(result); } @Test public void assignableParameter() { boolean result = typeWrapper.isAssignableParameterizedType(type6, type7); assertTrue(result); } @Test public void nestedAssignableParameters() { boolean result = typeWrapper.isAssignableParameterizedType(type3, type4); assertTrue(result); } @Test public void falseWhenDifferentNrOfTypeParameters() { boolean result = typeWrapper.isAssignableParameterizedType(type2, type7); assertFalse(result); } @Test public void falseWhenNotEqualNonWildCardType() { boolean result = typeWrapper.isAssignableParameterizedType(type7, type8); assertFalse(result); } @Test public void falseWhenNotAssignableToWildCard() { boolean result = typeWrapper.isAssignableParameterizedType(type6, type8); assertFalse(result); } @Test public void falseWhenNotAssignableToNestedWildCard() { boolean result = typeWrapper.isAssignableParameterizedType(type3, type5); assertFalse(result); } private static class MyClass { private Map<Type1, Type1> field1; private Map<Type1, Type1> field2; private Map<? extends List<? extends Type1>, ? extends List<?>> field3; private Map<List<Type1>, List<Type2>> field4; private Map<List<String>, List<String>> field5; private List<? extends Type1> field6; private List<Type2> field7; private List<String> field8; } private static class Type1 { } private static class Type2 extends Type1 { } }
Java
/* * Copyright (c) 2010-2014. Axon Framework * * 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 org.axonframework.common.lock; /** * Interface to the lock factory. A lock factory produces locks on resources that are shared between threads. * * @author Allard Buijze * @since 0.3 */ public interface LockFactory { /** * Obtain a lock for a resource identified by given {@code identifier}. Depending on the strategy, this * method may return immediately or block until a lock is held. * * @param identifier the identifier of the resource to obtain a lock for. * @return a handle to release the lock. */ Lock obtainLock(String identifier); }
Java
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'litleleprikon' from random import randint FIGURES = ['камень', 'бумага', 'ножницы'] FIG_LEN = len(FIGURES) class Player: """ Player class is needed to store tactics and to generate figures by this tactic -- Doctests -- >>> player = Player() >>> player.figure in FIGURES True """ def __init__(self, number: int): self.name = 'игрок{}'.format(number) tactic = randint(0, FIG_LEN-1) self.main_figure = FIGURES[tactic] self.__figures = [FIGURES[(tactic+i) % FIG_LEN] for i in range(FIG_LEN)] def __str__(self): return '{}: {}'.format(self.name, self.main_figure) @property def figure(self): rand = randint(0, FIG_LEN) return self.__figures[rand % FIG_LEN]
Java
package site; public class Autocomplete { private final String label; private final String value; public Autocomplete(String label, String value) { this.label = label; this.value = value; } public final String getLabel() { return this.label; } public final String getValue() { return this.value; } }
Java
### Running the example ```bash gcloud builds submit --config=./cloudbuild.yaml ``` ### Note This trivial example builds 2 binaries that share a Golang package `github.com/golang/glog`. Because the cloudbuild.yaml shares a volume called `go-modules` across all steps, once the `glog` package is pulled for the first step (`Step #0`), it is available to be used by the second step. In practice, sharing immutable packages this way should significantly improve build times. ```bash BUILD Starting Step #0 Step #0: Pulling image: golang:1.12 Step #0: 1.12: Pulling from library/golang Step #0: Digest: sha256:017b7708cffe1432adfc8cc27119bfe4c601f369f3ff086c6e62b3c6490bf540 Step #0: Status: Downloaded newer image for golang:1.12 Step #0: go: finding github.com/golang/glog latest Step #0: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Step #0: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Finished Step #0 Starting Step #1 Step #1: Already have image: golang:1.12 Finished Step #1 Starting Step #2 Step #2: Already have image: busybox Step #2: total 4840 Step #2: -rwxr-xr-x 1 root root 2474479 Jul 10 23:59 bar Step #2: -rwxr-xr-x 1 root root 2474479 Jul 10 23:59 foo Finished Step #2 PUSH DONE ``` If the `options` second were commented out and the `busybox` step removed (as it will fail), the output would show the second step repulling (unnecessarily) the `glog` package: ```bash BUILD Starting Step #0 Step #0: Pulling image: golang:1.12 Step #0: 1.12: Pulling from library/golang Step #0: Digest: sha256:017b7708cffe1432adfc8cc27119bfe4c601f369f3ff086c6e62b3c6490bf540 Step #0: Status: Downloaded newer image for golang:1.12 Step #0: go: finding github.com/golang/glog latest Step #0: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Step #0: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Finished Step #0 Starting Step #1 Step #1: Already have image: golang:1.12 Step #1: go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Step #1: go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Step #1: go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b Finished Step #1 PUSH DONE ``` This example also uses the Golang team's Module Mirror [https://proxy.golang.org](https://proxy.golang.org) for its performance and security benefits.
Java
/* Copyright 2015 Crunchy Data Solutions, Inc. 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 adminapi import ( "github.com/ant0ine/go-json-rest/rest" "github.com/crunchydata/crunchy-postgresql-manager/admindb" "github.com/crunchydata/crunchy-postgresql-manager/cpmserverapi" "github.com/crunchydata/crunchy-postgresql-manager/logit" "github.com/crunchydata/crunchy-postgresql-manager/swarmapi" "github.com/crunchydata/crunchy-postgresql-manager/types" "github.com/crunchydata/crunchy-postgresql-manager/util" "net/http" "strings" ) const CONTAINER_NOT_FOUND = "CONTAINER NOT FOUND" // GetNode returns the container node definition func GetNode(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ID := r.PathParam("ID") if ID == "" { logit.Error.Println("error node ID required") rest.Error(w, "node ID required", http.StatusBadRequest) return } node, err2 := admindb.GetContainer(dbConn, ID) if node.ID == "" { rest.NotFound(w, r) return } if err2 != nil { logit.Error.Println(err2.Error()) rest.Error(w, err2.Error(), http.StatusBadRequest) return } var currentStatus = "UNKNOWN" request := &swarmapi.DockerInspectRequest{} var inspectInfo swarmapi.DockerInspectResponse request.ContainerName = node.Name inspectInfo, err = swarmapi.DockerInspect(request) if err != nil { logit.Error.Println(err.Error()) currentStatus = CONTAINER_NOT_FOUND } if currentStatus != "CONTAINER NOT FOUND" { var pgport types.Setting pgport, err = admindb.GetSetting(dbConn, "PG-PORT") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } currentStatus, err = util.FastPing(pgport.Value, node.Name) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } //logit.Info.Println("pinging db finished") } clusternode := new(types.ClusterNode) clusternode.ID = node.ID clusternode.ClusterID = node.ClusterID clusternode.Name = node.Name clusternode.Role = node.Role clusternode.Image = node.Image clusternode.CreateDate = node.CreateDate clusternode.Status = currentStatus clusternode.ProjectID = node.ProjectID clusternode.ProjectName = node.ProjectName clusternode.ClusterName = node.ClusterName clusternode.ServerID = inspectInfo.ServerID clusternode.IPAddress = inspectInfo.IPAddress w.WriteJson(clusternode) } // GetAllNodesForProject returns all node definitions for a given project func GetAllNodesForProject(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ID := r.PathParam("ID") if ID == "" { logit.Error.Println("project ID required") rest.Error(w, "project ID required", http.StatusBadRequest) return } results, err := admindb.GetAllContainersForProject(dbConn, ID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) } nodes := make([]types.ClusterNode, len(results)) i := 0 for i = range results { nodes[i].ID = results[i].ID nodes[i].Name = results[i].Name nodes[i].ClusterID = results[i].ClusterID nodes[i].Role = results[i].Role nodes[i].Image = results[i].Image nodes[i].CreateDate = results[i].CreateDate nodes[i].ProjectID = results[i].ProjectID nodes[i].ProjectName = results[i].ProjectName nodes[i].ClusterName = results[i].ClusterName //nodes[i].Status = "UNKNOWN" i++ } w.WriteJson(&nodes) } // TODO func GetAllNodes(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } results, err := admindb.GetAllContainers(dbConn) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) } nodes := make([]types.ClusterNode, len(results)) i := 0 for i = range results { nodes[i].ID = results[i].ID nodes[i].Name = results[i].Name nodes[i].ClusterID = results[i].ClusterID nodes[i].Role = results[i].Role nodes[i].Image = results[i].Image nodes[i].CreateDate = results[i].CreateDate nodes[i].ProjectID = results[i].ProjectID nodes[i].ProjectName = results[i].ProjectName nodes[i].ClusterName = results[i].ClusterName //nodes[i].Status = "UNKNOWN" i++ } w.WriteJson(&nodes) } // TODO func GetAllNodesNotInCluster(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } results, err := admindb.GetAllContainersNotInCluster(dbConn) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) } nodes := make([]types.ClusterNode, len(results)) i := 0 for i = range results { nodes[i].ID = results[i].ID nodes[i].Name = results[i].Name nodes[i].ClusterID = results[i].ClusterID nodes[i].Role = results[i].Role nodes[i].Image = results[i].Image nodes[i].CreateDate = results[i].CreateDate nodes[i].ProjectID = results[i].ProjectID nodes[i].ProjectName = results[i].ProjectName nodes[i].ClusterName = results[i].ClusterName //nodes[i].Status = "UNKNOWN" i++ } w.WriteJson(&nodes) } // GetAllNodesForCluster returns a list of nodes for a given cluster func GetAllNodesForCluster(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ClusterID := r.PathParam("ClusterID") if ClusterID == "" { logit.Error.Println("ClusterID required") rest.Error(w, "node ClusterID required", http.StatusBadRequest) return } results, err := admindb.GetAllContainersForCluster(dbConn, ClusterID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) } nodes := make([]types.ClusterNode, len(results)) i := 0 for i = range results { nodes[i].ID = results[i].ID nodes[i].Name = results[i].Name nodes[i].ClusterID = results[i].ClusterID nodes[i].Role = results[i].Role nodes[i].Image = results[i].Image nodes[i].CreateDate = results[i].CreateDate nodes[i].ProjectID = results[i].ProjectID nodes[i].ProjectName = results[i].ProjectName nodes[i].ClusterName = results[i].ClusterName //nodes[i].Status = "UNKNOWN" i++ } w.WriteJson(&nodes) } /* TODO refactor this to share code with DeleteCluster!!!!! */ func DeleteNode(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-container") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ID := r.PathParam("ID") if ID == "" { logit.Error.Println("DeleteNode: error node ID required") rest.Error(w, "node ID required", http.StatusBadRequest) return } //go get the node we intend to delete var dbNode types.Container dbNode, err = admindb.GetContainer(dbConn, ID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } var infoResponse swarmapi.DockerInfoResponse infoResponse, err = swarmapi.DockerInfo() if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusInternalServerError) return } servers := make([]types.Server, len(infoResponse.Output)) i := 0 for i = range infoResponse.Output { servers[i].ID = infoResponse.Output[i] servers[i].Name = infoResponse.Output[i] servers[i].IPAddress = infoResponse.Output[i] i++ } var pgdatapath types.Setting pgdatapath, err = admindb.GetSetting(dbConn, "PG-DATA-PATH") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } err = admindb.DeleteContainer(dbConn, ID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } logit.Info.Println("remove 1") //it is possible that someone can remove a container //outside of us, so we let it pass that we can't remove //it request := &swarmapi.DockerRemoveRequest{} request.ContainerName = dbNode.Name _, err = swarmapi.DockerRemove(request) if err != nil { logit.Error.Println(err.Error()) } logit.Info.Println("remove 2") //send the server a deletevolume command request2 := &cpmserverapi.DiskDeleteRequest{} request2.Path = pgdatapath.Value + "/" + dbNode.Name for _, each := range servers { _, err = cpmserverapi.DiskDeleteClient(each.Name, request2) if err != nil { logit.Error.Println(err.Error()) } } logit.Info.Println("remove 3") //we should not have to delete the DNS entries because //of the dnsbridge, it should remove them when we remove //the containers via the docker api w.WriteHeader(http.StatusOK) status := types.SimpleStatus{} status.Status = "OK" w.WriteJson(&status) } // GetAllNodesForServer returns a list of all nodes on a given server func GetAllNodesForServer(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } serverID := r.PathParam("ServerID") if serverID == "" { logit.Error.Println("GetAllNodesForServer: error serverID required") rest.Error(w, "serverID required", http.StatusBadRequest) return } serverIPAddress := strings.Replace(serverID, "_", ".", -1) results, err := swarmapi.DockerPs(serverIPAddress) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } nodes := make([]types.ClusterNode, len(results.Output)) i := 0 var container types.Container for _, each := range results.Output { logit.Info.Println("got back Name:" + each.Name + " Status:" + each.Status + " Image:" + each.Image) nodes[i].Name = each.Name container, err = admindb.GetContainerByName(dbConn, each.Name) if err != nil { logit.Error.Println(err.Error()) nodes[i].ID = "unknown" nodes[i].ProjectID = "unknown" } else { nodes[i].ID = container.ID nodes[i].ProjectID = container.ProjectID } nodes[i].Status = each.Status nodes[i].Image = each.Image i++ } w.WriteJson(&nodes) } // AdminStartNode starts a container func AdminStartNode(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ID := r.PathParam("ID") if ID == "" { logit.Error.Println("AdminStartNode: error ID required") rest.Error(w, "ID required", http.StatusBadRequest) return } node, err := admindb.GetContainer(dbConn, ID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } /** server := types.Server{} server, err = admindb.GetServer(dbConn, node.ServerID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } */ var response swarmapi.DockerStartResponse request := &swarmapi.DockerStartRequest{} request.ContainerName = node.Name response, err = swarmapi.DockerStart(request) if err != nil { logit.Error.Println(err.Error()) logit.Error.Println(response.Output) } //logit.Info.Println(response.Output) w.WriteHeader(http.StatusOK) status := types.SimpleStatus{} status.Status = "OK" w.WriteJson(&status) } // AdminStopNode stops a container func AdminStopNode(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } ID := r.PathParam("ID") if ID == "" { logit.Error.Println("AdminStopNode: error ID required") rest.Error(w, "ID required", http.StatusBadRequest) return } node, err := admindb.GetContainer(dbConn, ID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } /** server := types.Server{} server, err = admindb.GetServer(dbConn, node.ServerID) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } */ request := &swarmapi.DockerStopRequest{} request.ContainerName = node.Name _, err = swarmapi.DockerStop(request) if err != nil { logit.Error.Println(err.Error()) } w.WriteHeader(http.StatusOK) status := types.SimpleStatus{} status.Status = "OK" w.WriteJson(&status) } // AdminStartServerContainers starts all containers on a given server func AdminStartServerContainers(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } //serverID serverid := r.PathParam("ID") if serverid == "" { logit.Error.Println(" error ID required") rest.Error(w, "ID required", http.StatusBadRequest) return } cleanIP := strings.Replace(serverid, "_", ".", -1) containers, err := swarmapi.DockerPs(cleanIP) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } //for each, get server, start container //use a 'best effort' approach here since containers //can be removed outside of CPM's control for _, each := range containers.Output { //start the container var response swarmapi.DockerStartResponse var err error request := &swarmapi.DockerStartRequest{} logit.Info.Println("trying to start " + each.Name) request.ContainerName = each.Name response, err = swarmapi.DockerStart(request) if err != nil { logit.Error.Println("AdminStartServerContainers: error when trying to start container " + err.Error()) logit.Error.Println(response.Output) } //logit.Info.Println(response.Output) } w.WriteHeader(http.StatusOK) status := types.SimpleStatus{} status.Status = "OK" w.WriteJson(&status) } // AdminStopServerContainers stops all containers on a given server func AdminStopServerContainers(w rest.ResponseWriter, r *rest.Request) { dbConn, err := util.GetConnection(CLUSTERADMIN_DB) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), 400) return } defer dbConn.Close() err = secimpl.Authorize(dbConn, r.PathParam("Token"), "perm-read") if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusUnauthorized) return } //serverID serverid := r.PathParam("ID") if serverid == "" { logit.Error.Println("AdminStopoServerContainers: error ID required") rest.Error(w, "ID required", http.StatusBadRequest) return } cleanIP := strings.Replace(serverid, "_", ".", -1) containers, err := swarmapi.DockerPs(cleanIP) if err != nil { logit.Error.Println(err.Error()) rest.Error(w, err.Error(), http.StatusBadRequest) return } //for each, get server, stop container for _, each := range containers.Output { if strings.HasPrefix(each.Status, "Up") { //stop container request := &swarmapi.DockerStopRequest{} request.ContainerName = each.Name logit.Info.Println("stopping " + request.ContainerName) _, err = swarmapi.DockerStop(request) if err != nil { logit.Error.Println("AdminStopServerContainers: error when trying to start container " + err.Error()) } } } w.WriteHeader(http.StatusOK) status := types.SimpleStatus{} status.Status = "OK" w.WriteJson(&status) }
Java
/*========================================================================= * * Copyright NumFOCUS * * 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.txt * * 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. * *=========================================================================*/ // // Created by Jean-Marie Mirebeau on 05/03/2014. // // #ifndef itkStructureTensorImageFilter_h #define itkStructureTensorImageFilter_h #include "itkCastImageFilter.h" #include "itkGradientRecursiveGaussianImageFilter.h" #include "itkAddImageFilter.h" #include "itkVectorIndexSelectionCastImageFilter.h" #include "itkGradientImageFilter.h" #include "itkSymmetricSecondRankTensor.h" namespace itk { /** * \class StructureTensorImageFilter * * \brief Computes the structure tensor. * * Implementation of the structure tensor, defined by * * \f[K_\rho (\nabla u_\sigma \otimes \nabla u_\sigma),\f] * * where \f$K_\rho\f$ denotes the gaussian kernel of standard deviation \f$\rho\f$, * and \f$u_\sigma := K_\sigma * u\f$. * * \ingroup AnisotropicDiffusionLBR */ template <typename TImage, typename TTensorImage = Image<SymmetricSecondRankTensor<typename TImage::PixelType, TImage::ImageDimension>, TImage::ImageDimension>> class StructureTensorImageFilter : public ImageToImageFilter<TImage, TTensorImage> { public: ITK_DISALLOW_COPY_AND_MOVE(StructureTensorImageFilter); using Self = StructureTensorImageFilter; using Superclass = ImageToImageFilter<TImage, TImage>; using Pointer = SmartPointer<Self>; using ConstPointer = SmartPointer<const Self>; /// Method for creation through the object factory. itkNewMacro(Self); /// Run-time type information (and related methods). itkTypeMacro(StructureTensorImageFilter, Superclass); using InputImageDimensionType = typename Superclass::InputImageType::ImageDimensionType; static constexpr InputImageDimensionType InputImageDimension = Superclass::InputImageType::ImageDimension; using ImageType = TImage; using PixelType = typename ImageType::PixelType; using TensorImageType = TTensorImage; using TensorType = typename TensorImageType::PixelType; using ScalarType = typename TensorType::ComponentType; using ScalarImageType = Image<ScalarType, InputImageDimension>; /// Parameter \f$\sigma\f$ of the structure tensor definition. itkSetMacro(NoiseScale, ScalarType); /// Parameter \f$\rho\f$ of the structure tensor definition. itkSetMacro(FeatureScale, ScalarType); /// Rescales all structure tensors by a common factor, so that the maximum trace is 1. itkSetMacro(RescaleForUnitMaximumTrace, bool); itkGetConstMacro(NoiseScale, ScalarType); itkGetConstMacro(FeatureScale, ScalarType); itkGetConstMacro(RescaleForUnitMaximumTrace, bool); itkGetConstMacro(PostRescaling, ScalarType); /// Global rescaling constant used. protected: void GenerateData() override; ScalarType m_FeatureScale; ScalarType m_NoiseScale; bool m_RescaleForUnitMaximumTrace{ false }; ScalarType m_PostRescaling; bool m_UseGradientRecursiveGaussianImageFilter{ true }; struct DispatchBase {}; template <bool> struct Dispatch : public DispatchBase {}; void IntermediateFilter(const Dispatch<true> &); void IntermediateFilter(const Dispatch<false> &); typename TensorImageType::Pointer m_IntermediateResult; using CovariantVectorType = CovariantVector<ScalarType, InputImageDimension>; using CovariantImageType = Image<CovariantVectorType, InputImageDimension>; struct OuterFunctor { TensorType operator()(const CovariantVectorType & u) const { TensorType m; for (InputImageDimensionType i = 0; i < InputImageDimension; ++i) { for (InputImageDimensionType j = i; j < InputImageDimension; ++j) { m(i, j) = u[i] * u[j]; } } return m; } }; struct TraceFunctor { ScalarType operator()(const TensorType & t) const { return t.GetTrace(); } }; struct ScaleFunctor { ScalarType scaling; TensorType operator()(const TensorType & t) const { return t * scaling; } }; StructureTensorImageFilter(); }; } // end namespace itk #ifndef ITK_MANUAL_INSTANTIATION # include "itkStructureTensorImageFilter.hxx" #endif #endif
Java